cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
279
Views
1
Helpful
5
Replies

Config new ssh port on switch

djamai95
Level 1
Level 1

Hi, i want to change the ssh port on my switch. But when i used command "ip ssh port 1422 rotary 1", it refuse and said : % Unrecognized command. However when i change the port number in same command, it accept : "ip ssh port 3005 ?
rotary Starting (or only) rotary group number". Why ?

1 Accepted Solution

Accepted Solutions

@djamai95 

Certain port numbers are reserved for specific applications or services. While 1422 is not a well-known reserved port, it's possible that your device has specific configurations or constraints that prevent its use. Some Cisco devices or IOS versions may have limitations or restrictions on which port numbers can be assigned for SSH. If 1422 is not accepted, it could be a restriction of the IOS version you are using.

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

5 Replies 5

not all platform use rotary for SSH

rotary use for telnet 
and for SSH you can force SW/R to use specific port  via ip ssh port 3005

so command you use is correct (without rotary)

to be sure try use 
ip ssh port 2000 rotary <<- also not all port can use for rotary for both telnet or SSH

it platform limitation 

MHM

M02@rt37
VIP
VIP

Hello @djamai95 

The ssh rotary command can be used. An example can be found here:

 http://www.cisco.com/en/US/tech/tk583/tk617/technologies_q_and_a_item09186a0080267e0f.shtml

and follow this: https://traveltoccie.blogspot.com/2015/12/ssh-rotary-option.html

What is your platform and IOS version please ?

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

The IOS version is 17.9

In fact the system refuse port number 1422. This my problem. Why system refuse port number 1422 and accept 3005 ?

@djamai95 

Certain port numbers are reserved for specific applications or services. While 1422 is not a well-known reserved port, it's possible that your device has specific configurations or constraints that prevent its use. Some Cisco devices or IOS versions may have limitations or restrictions on which port numbers can be assigned for SSH. If 1422 is not accepted, it could be a restriction of the IOS version you are using.

 

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
Review Cisco Networking for a $25 gift card