ssh配置
前言
记录一些学习经验、遇到的问题
一、基础设置(华为)
登录账号:user1
密码:pwr1
# 建立AAA用户设置密码、权限、服务类型
aaa
local-user user1 password simple pwr1
local-user user1 privilege level 15
local-user user1 service-type ssh
# 建立RSA本地密匙
rsa local-key-pair create
# 开启SSH服务、添加SSH用户、用户认证类型、服务类型
stelnet server enable
ssh user user1
ssh user user1 authentication-type all
ssh user user1 service-type all
# 开启远程连接数0-4、认证类型为AAA、协议使用SSH
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
#