02-27-2007 04:33 AM
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.
02-27-2007 05:12 AM
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
02-27-2007 09:28 PM
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
02-27-2007 11:44 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide