Enabling the SSH function on the S series switches

Enabling the SSH function on the S series switches (except for the S1700) is as follows:

system-view
[huawei] sysname SSH_Server
[SSH_Server] dsa local-key-pair create

[SSH_Server] user-interface vty 0 14
[SSH_Server-ui-vty0-14] authentication-mode aaa
[SSH_Server-ui-vty0-14] protocol inbound ssh
[SSH_Server-ui-vty0-14] quit

[SSH_Server] aaa
[SSH_Server-aaa] local-user client001 password irreversible-cipher Huawei@123
[SSH_Server-aaa] local-user client001 privilege level 3
[SSH_Server-aaa] local-user client001 service-type ssh
[SSH_Server-aaa] quit
[SSH_Server] ssh user client001 authentication-type password

[SSH_Server] stelnet server enable

[SSH_Server] ssh user client001 service-type stelnet

Scroll to top