---------IOS系统-------- enable password ******** conf t ip domain-name cisco.com ////域名必须写 aaa new-model crypto key generate rsa username cisco password cisco
line vty 0 4 transport input ssh line vty 5 15 transport input ssh
ip ssh time-out 60
ip ssh authentication-retries 1 //重认证次数
ip ssh version 2
do wr
show ip ssh //查看ssh版本 加密等信息
---------NXOS系统--------- feature ssh ////开启SSH功能即可
ssh admin@x.x.x.x //N9K用ssh登陆命令 password:
---------IOS-XR系统-------------- show install active | i k9 ////先查看是否支持ssk disk0:hfr-k9sec-3.6.0 // //有这个文件证明支持 crypto key generate dsa ssh service v2 ssh service vrf default commit