What Are the Common Causes of SSH Login Failures? How Do I Handle the Problem?

381 0 0 0

What Are the Common Causes of SSH Login Failures? How Do I Handle the Problem?

The common causes of SSH login failures are as follows:

1.         The configuration is incorrect. For example, the STelnet service is disabled on the switch.

Solution: See How Do I Configure Stelnet-based Login?. Check whether the configuration is correct and complete.

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.

3.         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.

4.         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.

 

 

You can also find the answer in Basic Configurations in FAQs.

  • x
  • convention:

Comment

Reply
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

Login