Solved

Solaris - Cisco router connectivity

Posted on 2006-11-16
2
368 Views
Last Modified: 2013-12-27
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:d2.
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
0
Comment
Question by:rdashokraj
2 Comments
 
LVL 34

Accepted Solution

by:
PsiCop earned 500 total points
ID: 17956377
Some older Cisco products have an SSH server that is limited to SSH v1. Check the Cisco config/docs and make sure of what SSH version the server component is using, and, if necessary, supply the appropriate flags to your SSH client invocation.

Also, the user ID has to match. I don't think the SSH server in the Cisco IOS environment recognizes "root" as a valid user ID in the default configuration. So, again, check the docs and config to determine the appropriate user ID, and if needed supply that via command-line options when invoking the SSH client.
0
 

Author Comment

by:rdashokraj
ID: 18037987
Thanks for your answer.

/Ashok
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Move nodes from one TSM to another. 3 76
How to check the PVU´s on AIX TSM servers? 3 94
mobaxterm not able to change directory 28 152
Martian Packets Unix 5 51
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question