04-26-2010 09:11 AM - edited 02-21-2020 03:56 AM
I believe I already know what the issue is but wanted to confirm.
I recently changed the configuration of the routers so that all incoming SSH connections can only be done via the specified port:
ip ssh port xxxx rotary 10
created an ACL and everything works beautifully with Putty. When I try to SSH from a router to another router it sits there and the ACL permits the connection but nothing happens.
I use ssh -p xxxx NAME.
I assume this is because of the cert not being recognized by the connecting router?
Solved! Go to Solution.
04-27-2010 11:56 PM
Yes I did. I tried ssh -l username -p xxxx ipaddress
Hi,
What is ios version and model name
Ganesh.H
04-26-2010 11:52 AM
have you tried the -l option with a username?
Regards,
Brandon
04-27-2010 05:40 AM
Yes I did. I tried ssh -l username -p xxxx ipaddress
04-27-2010 11:56 PM
Yes I did. I tried ssh -l username -p xxxx ipaddress
Hi,
What is ios version and model name
Ganesh.H
05-26-2010 10:55 AM
Hi,
I'm afraid you misunderstood the purpose of ip ssh port:
To enable secure access to tty (asynchronous) lines, use the ip ssh port command in global configuration mode. To disable this functionality, use the no form of this command.
ip ssh port por-tnum rotary group
no ip ssh port por-tnum rotary group
The result of your command
ip ssh port xxxx rotary 10
is, that incoming ssh sessions destined to your secret port xxxx will be forwarded to a vacant async interface belonging to rotary group 10. That is: anything you type into your ssh client will be sent out as an asynchronous character to the async interface to which the ssh session is connected to. Now I assume that you dont have
What you might want to try is the command rotary which allows to put vty into a rotary group
line vty 2 4
rotary 10
login local
Rgds, MiKa
Message was edited by: m.kafka (added line vty rotary)
12-16-2021 08:25 AM
I was able to login from 1 device to another by entering the following commands. My switch is a catalyst 9200
switch#ssh -l username IP Address <enter>
then it'll prompt for your password
03-04-2022 07:39 AM
Sometimes you have to specify the SSH version:
ssh -v 2 -l username A.B.C.D
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