rdashokraj
asked on
Solaris - Cisco router connectivity
Hello Experts,
My doubt is: Is it possible to connent a Solaris machine (with SSH enabled) to a Cisco router through SSH connection?
I don't know how to configure SSH Server/Client in Cisco router. But incase if its enabled, is it possible to connect to them from a Solaris machine ?
Here in the given below example, I'm able to telnet to a cisco router (IP: 157.95.25.4) but not SSH. Is there any different syntax for SSH to network devices? I assume that in Cisco router SSH access must be always available along with Telnet as it is more secured.
[root@just root]# ps -ef|grep sshd
root 1733 1 0 Nov10 ? 00:00:01 /usr/sbin/sshd <-- SSH is running
root 5168 5099 0 01:07 pts/0 00:00:00 grep sshd
[root@just root]# ssh 157.95.25.4 <-- SSH to Cisco router, connection refused
ssh: connect to host 157.95.25.4 port 22: Connection refused
[root@just root]# telnet 157.95.25.4 <-- Telnet works
Trying 157.95.25.4...
Connected to 157.95.25.4 (157.95.25.4).
Escape character is '^]'.
User Access Verification
Username: Connection closed by foreign host.
[root@just root]# ssh 172.16.2.19 <-- SSH to other solaris machine works.
The authenticity of host '172.16.2.19 (172.16.2.19)' can't be established.
RSA key fingerprint is 76:f6:d4:0b:ea:34:05:e5:65 :76:8d:7a: 78:a6:83:d 2.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.16.2.19' (RSA) to the list of known hosts.
root@172.16.2.19's password:
I would appreciate if you could respond me at the earliest since it is very urgent for me.
Thanks,
Ashok
My doubt is: Is it possible to connent a Solaris machine (with SSH enabled) to a Cisco router through SSH connection?
I don't know how to configure SSH Server/Client in Cisco router. But incase if its enabled, is it possible to connect to them from a Solaris machine ?
Here in the given below example, I'm able to telnet to a cisco router (IP: 157.95.25.4) but not SSH. Is there any different syntax for SSH to network devices? I assume that in Cisco router SSH access must be always available along with Telnet as it is more secured.
[root@just root]# ps -ef|grep sshd
root 1733 1 0 Nov10 ? 00:00:01 /usr/sbin/sshd <-- SSH is running
root 5168 5099 0 01:07 pts/0 00:00:00 grep sshd
[root@just root]# ssh 157.95.25.4 <-- SSH to Cisco router, connection refused
ssh: connect to host 157.95.25.4 port 22: Connection refused
[root@just root]# telnet 157.95.25.4 <-- Telnet works
Trying 157.95.25.4...
Connected to 157.95.25.4 (157.95.25.4).
Escape character is '^]'.
User Access Verification
Username: Connection closed by foreign host.
[root@just root]# ssh 172.16.2.19 <-- SSH to other solaris machine works.
The authenticity of host '172.16.2.19 (172.16.2.19)' can't be established.
RSA key fingerprint is 76:f6:d4:0b:ea:34:05:e5:65
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.16.2.19' (RSA) to the list of known hosts.
root@172.16.2.19's password:
I would appreciate if you could respond me at the earliest since it is very urgent for me.
Thanks,
Ashok
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
/Ashok