cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
642
Views
0
Helpful
1
Replies

Changing SSH default port on Cisco 7201 Router

Frank27
Level 1
Level 1

Normally I can change the ssh port using rotary method with 

 

ip ssh port (port number) rotary 1

 

but this release I am using 12.4(12.2r)T does not support the port command after ip ssh..

How I can change port then for preventing bots brute force attack on port 22?

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

I believe due to version of code it may not support the feature changing the port. instead you can restrict SSH to known IP address as remidiation :

 

BBRouter(config)#access-list 10 permit 192.168.100.0 0.0.255.255
BBRouter(config)#line vty 0 15
BBRouter(config-line)#access-class 10 in

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card