cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
262
Views
0
Helpful
2
Replies

SSHport

Anand Narayana
Level 6
Level 6

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

2 Replies 2

m.sir
Level 7
Level 7

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

m.sir
Level 7
Level 7

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

Review Cisco Networking for a $25 gift card