SSH design

Latest reply: Dec 21, 2018 00:44:17 1301 1 5 0

Conventional Telnet and FTP transfer data unencrypted. This is because the Telnet/FTP sends password in plain text and can be easily sniffed. The secure shell (SSH) feature, however, offers security guarantee and powerful authentication to protect devices from attacks such as IP address spoofing and interception of plain text passwords. Therefore, Huawei recommends SSH must be enabled on the devices on the entire network for remote access.

The local authentication configuration steps are as follows:

1. Create an asymmetric local key pair on the SSH server.


[Switch]   rsa local-key-pair create

[Switch]   stelnet server enable

2. Create the user, and configure authentication type and service type


[Switch]   ssh user <user name>

[Switch]   ssh user <user name> authentication-type password

[Switch]   ssh user <user name> service-type stelnet

3. Configure the mode of authentication in VTY interface.


[Switch]   user-interface vty <first-ui-number> <last-ui-number>

[Switch-ui-vty0-4]   authentication-mode aaa

[Switch-ui-vty0-4]   protocol inbound ssh

[Switch-ui-vty0-4]   idle-timeout 5 0

[Switch-ui-vty0-4]   quit

  • x
  • convention:

Created Dec 21, 2018 00:44:17 Helpful(0) Helpful(0)

can we need to configure the username on the AAA ?
  • x
  • convention:


You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits