Changing SSH Port on Cisco Router

Feb 24, 2008 6 Replies

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


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

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.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required