路由器SSH登录演示

  • A+
所属分类:Route

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登录演示

发表评论

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

目前评论:1   其中:访客  0   博主  0   引用   1

    来自外部的引用: 1

    • 路由器telnet登录演示 – Byrd's Weblog