思科設備配置SSH的命令

---------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 [email protected] //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





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章