SSH學(xué)習(xí)記錄

必須用AR路由器,保證實(shí)驗(yàn)結(jié)果能出來。
服務(wù)器側(cè)配置(ssh server):
#啟用stelnet (ssh)服務(wù)
[SSH Server]stelnet server enable
[SSH Server]user-interface vty 0 4
[[SSH Server-ui-vty0-4]authentication-mode aaa
[SSH Server-ui-vty0-4]protocool inboub ssh
[SSH Server]aaa
[SSH Server-aaa]local-user root password cipher 12345678
[SSH Server-aaa]local-user root privilege level 15
[SSH Server-aaa]local-user root server-type ssh
[SSH Server]ssh user root authentication-type password
客戶端側(cè)配置:
[Client]ssh client first-time enable
[Client]stelnet 10.0.1.254
查驗(yàn):
display this //當(dāng)前接口配置
display cu //查看所有配置
標(biāo)簽: