一、华为
- 开启STelnet服务
创建AAA用户,并设置服务类型为SSH
[AR2]aaa
[AR2-aaa]local-user admin password cipher abc@123
[AR2-aaa]local-user admin privilege level 15
[AR2-aaa]local-user admin service-type ssh
创建SSH用户
[AR2]ssh user admin authentication-type password
[HUAWEI] ssh user admin123 service-type stelnet
ssh client first-time enable
开启VTY线路,并设置AAA认证,准入协议为SSH
- 验证登录