10-09-2024 03:32 AM
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 ?
Solved! Go to Solution.
10-09-2024 04:25 AM
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.
10-09-2024 03:36 AM - edited 10-09-2024 04:06 AM
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
10-09-2024 04:01 AM - edited 10-09-2024 04:03 AM
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 ?
10-09-2024 04:04 AM
The IOS version is 17.9
10-09-2024 04:07 AM
In fact the system refuse port number 1422. This my problem. Why system refuse port number 1422 and accept 3005 ?
10-09-2024 04:25 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide