Huawei equipment
To ensure that the device is powered on and running normally, the configuration is as follows:
1. Enable the stelnet service globally
system-view //Enter system view
[HUAWEI] stelnet server enable //Enable the STelnet service function
[HUAWEI] telnet server enable //Enable the Telnet service function, you don’t need to enable it
[HUAWEI] aaa
[HUAWEI-aaa] local-user user1 password cipher Huawei @123 //Configure an account, user name user1, password Huawei@123
[HUAWEI-aaa] local-user user1 privilege level 15 //Set the account level to the highest level
[HUAWEI-aaa] local-user user1 service-type ssh //Enable the SSH service for the account
[HUAWEI-aaa] quit //Exit
2. The ssh protocol is allowed under the vty interface
[HUAWEI] user-interface vty 0 4 //Configure the VTY user interface
[HUAWEI-ui-vty0-4] authentication-mode aaa //Configure the authentication mode as aaa authentication
[HUAWEI-ui-vty0-4] protocol inbound ssh //Enable the SSH protocol, if telnet is also used, here replace ssh with all
[HUAWEI-ui-vty0-4] quit //Exit
[HUAWEI]save //save command