cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
493
Views
5
Helpful
3
Replies

Can't ssh router from a router ...

sqambera
Level 1
Level 1

Hi,

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.

3 Replies 3

m.sir
Level 7
Level 7

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

M.

Hope that helps rate if it does

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
Level 7
Level 7

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.

M.