Changing SSH default port on Cisco 7201 Router
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2022 05:54 AM - edited 02-18-2022 05:57 AM
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?
- Labels:
-
Security Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2022 09:16 PM
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
