cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3418
Views
11
Helpful
4
Replies

Changing SSH port in Cisco switches

ahmedabdelbaqi
Level 1
Level 1

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

4 Replies 4

Marvin Rhoads
Hall of Fame
Hall of Fame

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.

SHIBI V DEV
Level 1
Level 1

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


 

Cisco SF220
Level 1
Level 1

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

It cannot be done (same answer as I gave in this thread over 8 years ago).

Review Cisco Networking for a $25 gift card