Got it

[CE Switches-FAQs] What can I do if I fail to log in to the device through SSH?

Latest reply: Jun 22, 2021 06:48:04 297 7 2 0 0
  1. The configuration is incorrect. For example, the STelnet service is disabled on the switch.

    Solution: Check whether the configuration is correct and complete.  You can download the product documentation of Huawei CloudEngine switches and find the document "Logging In to the Device Through STelnet" for reference.

  2. The switch functions as the SSH server and its SSH version is later than that of the SSH client. The SSH login fails because the SSH versions are different.

    Solution:

  • In V100R002C00, run the ssh server compatible-ssh1x disable command in the system view to configure the SSH server to be compatible with earlier SSH versions. By default, compatibility with earlier SSH versions is enabled.

  • In V100R003C00 and later versions, run the ssh server compatible-ssh1x enable command in the system view to configure the SSH server to be compatible with earlier SSH versions. By default, compatibility with earlier SSH versions is disabled.

The switch functions as an SSH client and connects to the SSH server for the first time. The authentication fails because the SSH server's public key is not configured on the switch.

Solution: Run the ssh client first-time enable command in the system view to enable first-time authentication on the SSH client. By default, the function is disabled. Access the SSH server and save the SSH server's public key on the SSH client. The switch uses the saved public key to authenticate the SSH server next time it connects to the server.

The SSH service type is not configured. By default, no service type is configured.

Solution: Run the ssh user user-name service-type { stelnet | all } command in the system view to set the SSH service type to STelnet or all.

If the fault persists, contact technical support personnel.


andersoncf1
MVE Author Created Jun 22, 2021 01:03:19

Well done friend. Very useful
View more
  • x
  • convention:

Very interesting
View more
  • x
  • convention:

Well done
View more
  • x
  • convention:

IndianKid
Moderator Author Created Jun 22, 2021 06:14:07

Well done friend. Very useful
View more
  • x
  • convention:

helpful post
View more
  • x
  • convention:

wow
View more
  • x
  • convention:

nice
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.