1. 华为
配置Console口密码
[~HUAWEI]user-interface console 0
[~HUAWEI-ui-console0]authentication-mode password
[~HUAWEI-ui-console0]set authentication password cipher Admin@123
配置Telnet远程登录(不推荐)
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]set authentication password cipher 123456

配置SSH远程登录
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode aaa
[Huawei-ui-vty0-4]protocol inbound ssh
[Huawei]aaa
[Huawei-aaa]local-user huawei password cipher Admin@123
Info: Add a new user.
[Huawei-aaa]local-user huawei service-type ssh
[Huawei-aaa]local-user huawei privilege level 15
[Huawei]stelnet server enable