I was asked if it was possible to change the default port for SSH access to a Cisco router.
Can that be done?
Regards,
Fred
You could use interface access lists.
Read the full replyI was asked if it was possible to change the default port for SSH access to a Cisco router.
Can that be done?
Regards,
Fred
Try: ip ssh port rotary
It seems to work.
Regards,
Fred
AFAIK that command is only for reverse ssh ( similiar to reverse telnet )
Well,
I'm able to ssh into the new port from my computer.
Regards,
Fred
interesting
I've since discovered that I can now SSH in through the standard port (22) or the new port.
I wonder how I can block port 22 (short of putting up an access-list)? Is there any way to turn off SSH access to port 22?
Regards,
Fred
You could use interface access lists.
Have something to add? Share your thoughts — no account required.
Ask the community — no account required