SSH 配置
#新建rsa秘钥
rsa local-key-pair create # 其中 vpn_point 为刚创建的trustpoint名称
user-interface vty 0 4
authentication-mode aaa # 配置登录方式为aaa认证
protocol inbound ssh # 允许ssh协议登录
aaa
undo local-aaa-user password policy administrator # 关闭系统默认的密码到期更改提醒
local-user usertest password irreversible-cipher Cisco@123 privilege level 3
local-user usertest service-type terminal ssh
quit
stelnet server enable # 开启ssh服务
ssh user usertest service-type stelnet # 设置usertest使用的允许的协议
ssh user usergd authentication-type password # 设置usertest使用的认证方式