路由器SSH登录演示

    Read

SSH配置演示(路由器2691):
Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 172.28.12.205 255.255.248.0
R1(config-if)#no sh
R1(config-if)#exit
R1(config)#username admin password 123456
R1(config)#ip domain-name arthonyt.com
R1(config)#crypto key generate rsa
How many bits in the modulus [512]: 1024
R1(config)#ip ssh version 2
R1(config)#line vty 0 4
R1(config-line)#transport input ssh (transport input ssh telnet)
R1(config-line)#^Z
________________________________________
R2#ssh -l admin 172.28.12.205
________________________________________
断开某个vtp连接:
R1#show user
130 vty 0 idle 00:00:03 172.28.12.206
R1#clear line vty 0 (R1#clear line 130)

扩展阅读:《路由器TELNET登录演示SourceByrd's Weblog-https://note.t4x.org/route/ssh-login-demo/ SourceByrd's Weblog-https://note.t4x.org/route/ssh-login-demo/

申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on November 21, 2012
  • 原文链接:https://note.t4x.org/route/ssh-login-demo/
Comments  1  Guest  0  Pingback  1
匿名

Comment

Anonymous

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: