R2(config)#ip ssh port 2000 rotary 2
R2(config)#line vty 0 1
R2(config-line)#rotary 1
R2(config)#line vty 2 3
R2(config-line)#rotary 2
R2(config-line)#transport input ssh
R2(config)#line vty 4 5
R2(config-line)#no login
R2(config-line)#rotary 3
R2(config-line)#autocommand ssh -l ruser 192.168.12.1
R2#show control-plane host open-ports
R1#telnet 192.168.12.2 3001
R1#ssh -l ruser -p 2002 192.168.12.2
R1#telnet 192.168.12.2 3003
No comments:
Post a Comment