Can't ssh router from a router ...

Unanswered Question
Feb 27th, 2007


Following is the configuration of vty lines on my router:

line vty 0 4

login local

transport input ssh

I am able to ssh my router with the help of putty (ssh utility) but when I try to ssh the same router from another router using command: ssh <ip address>, it asks the password but no login. When I enter my usual ssh password (which is in the local database of the router to which I ssh: username **** password ****) it does not accepts and ask again password until it kicks me out. Can anyone please help me to know why I can't ssh a router from another router? Thanks.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
m.sir Tue, 02/27/2007 - 05:12

You can try -l options when you are trying log in using your user name

try following command when connecting from router

ssh -l

then you should enter only password


Hope that helps rate if it does

sqambera Tue, 02/27/2007 - 21:28

Thanks a lot. It solved the problem. But still I am confused that why is it happening now, I mean before this I used to ssh directly using "ssh command and simply supply the password? Thanks again.

m.sir Tue, 02/27/2007 - 23:44

The client takes the current user and passes that to the server as the username to

login as.

To override this you must supply a username

with command

ssh -l

Its same like for UNIX systems.



This Discussion