Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Can't ssh router from a router ...


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.


Re: Can't ssh router from a router ...

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

New Member

Re: Can't ssh router from a router ...

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.


Re: Can't ssh router from a router ...

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.


CreatePlease login to create content