Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

SSHport

how to change the default ssh port on router/switch in cisco?

2 REPLIES
Gold

Re: SSHport

add the 'rotary' command in the 'line' configuration mode

(whichever vty lines you want to change the port for)

e.g

line vty 0 4

rotary 52

you can then access this using port 30XX where ('XX' is the number

defined in rotary command '52' in this case)

so ssh :3052 would work

for more details:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121newft/121t/121t1/dtasyncq.htm

M.

Hope that helps rate if it does

Gold

Re: SSHport

Sorry

One remark this is workin only for telnet for SSH you need add also command

ip ssh port

fe. if you want use port 2000

ip ssh port 2000 rotary 52

(in our case is specified group 52 on vty)

M.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t2/ftrevssh.htm#xtocid2560315

119
Views
0
Helpful
2
Replies
CreatePlease login to create content