建密钥对
dsa local-key-pair create
配置vty界面
user-interface vty 0 4
authentication-mode aaa
protocol inbound all
user privilege level 15
建ssh账号
aaa
local-user client001 password irreversible-cipher Huawei@123
local-user client001 privilege level 3
local-user client001 service-type ssh http
quit
#顺便把http登录也加入
ssh user client001 authentication-type password
开通ssh
stelnet server enable