Changing SSH port in Cisco switches

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2015 12:17 AM - edited 02-21-2020 05:26 AM
Hello everyone
I have switches with different platforms 2950 , 3750 , 3560 ...... I want to change the port of SSH , but the command ip ssh port not found ... be informed that the IOS is ipservice type for layer 3 switches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2015 06:44 AM
Sorry but you cannot change the port (tcp/22) used by ssh on Cisco switches.
The best practices for securing it it include:
- enforce ssh version 2,
- apply an access-list to your vty lines,
- set a timeout and retry lockout, and
- possibly control plane policing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2015 05:25 AM
I think you can enable this in 'X' series and latest switches, i have tried "ip ssh port " command in 2960X and it is working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 07:58 PM
I have Cisco SF 220 but not able to change default ssh port. Can you please suggest what to do now for changing the port?
ip ssh port xxxx command is not availble in this switch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 09:26 AM
It cannot be done (same answer as I gave in this thread over 8 years ago).
