cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1364
Views
0
Helpful
5
Replies

SSH between routers not working

eyazhuk
Level 1
Level 1

Hello everybody.

 

I'v faced some problems establishing connetcion between two 3845 routers.

Ping is OK and telnet works fine, but not the SSH.

Although, I see no log messages on both routers or any system messages appearing in CLI.

It just hangs for several seconds and jumps to next line.

 

Config is typical for the network:

 

line vty 0 4
 session-timeout 30
 access-class CONSOLE.in in
 exec-timeout 30 0
 privilege level 15
 transport input telnet ssh
line vty 5 15
 session-timeout 30
 access-class CONSOLE.in in
 exec-timeout 30 0
 privilege level 15
 transport input telnet ssh

 

ACL seems OK, because it's not affecting protocols, just IPs, and telnet works fine.

SSH ver2 on both sides.

The only reason, I can imagine so far is different IOS version: 15.1(4)M3 on one router, and 12.4(25f) on another one.

Can it cause a trouble, or should I search for solution elsewhere?

 

1 Accepted Solution

Accepted Solutions

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi,

Is possible to see the complete SSH configuration, you can also verify the SSH version, I don't think the cause is IOS version. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

View solution in original post

5 Replies 5

Hulk8647
Level 1
Level 1
can you post "show ip ssh"

Julio E. Moisa
VIP Alumni
VIP Alumni

Hi,

Is possible to see the complete SSH configuration, you can also verify the SSH version, I don't think the cause is IOS version. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

I would be amazed if the problem were differences in IOS version. I suspect that it is that SSH is not correctly enabled on one (or both) routers or perhaps something like one specifies version 1 while the other specifies version 2. I agree that the output of show ip ssh will be helpful in understanding what is going on.

 

HTH

 

Rick

HTH

Rick

eyazhuk
Level 1
Level 1

I deeply apologize, the case was a false alert.

The problem is solved after some routing changes - now SSH between routers works fine.

Seems to be a connectivity problem from the begining, though telnet worked fine.

 

Thanks everybody for the replies.

Thanks for posting back to the forum and updating us that the problem is resolved. I am puzzled how telnet could be working and SSH would fail due to a routing issue. But if things are working now then there is nothing to follow up on and the issue is closed.

 

HTH

 

Rick

HTH

Rick