Huawei Quidway enable ssh
To enable ssh service on Huawei Quidway switch, generate rsa local public key pairs:
<Quidway>system-view Enter system view, return user view with Ctrl+Z. [Quidway]rsa local-key-pair create The key name will be: Quidway_Host The range of public key size is (512 ~ 2048). NOTES: If the key modulus is greater than 512, It will take a few minutes. Input the bits in the modulus[default = 512]:1024 Generating keys... ......................................++++++ .....++++++ ..++++++++ .........++++++++ [Quidway]
Create username and password:
system-view Enter system view, return user view with Ctrl+Z. [Quidway]aaa [Quidway-aaa]local-user root password cipher YourPassword [Quidway-aaa]local-user root level 15 [Quidway-aaa]local-user root service-type ssh telnet [Quidway-aaa]quit [Quidway] [Quidway]display current-configuration configuration aaa # aaa local-user root password cipher XXXXXXXXX local-user root service-type terminal ssh authentication-scheme default # authorization-scheme default # accounting-scheme default # domain default # #
Configure SSH server:
[Quidway]stelnet server enable Info:Start STELNET server [Quidway]ssh user root authentication-type password Info:A new ssh user added [Quidway]ssh user root service-type stelnet
Configure virtual user terminal interface:
[Quidway]user-interface vty 0 4 [Quidway-ui-vty0-4]authentication-mode aaa [Quidway-ui-vty0-4]protocol inbound ssh