Authentication by ssh key failed
How to solve Authentication by SSH key failed in Ezeelogin?
Overview: This article helps in resolving the "Authentication by SSH key failed/Authentication by password failed" error that occurs in the Ezeelogin backend when logging into a remote server.
Step 1: Make sure that you can manually SSH to the remote server from the Ezeelogin gateway server.
root@jumpserver:~# ssh user@remoteserver_ip or hostname
Step 2: Verify the password has been entered correctly from Ezeelogin GUI and backend(ezsh). Refer below screenshots.
Step 2(A): To view password from Ezeelogin backend(ezsh), ssh into the jump server, select the server whose password needs to be viewed, and press the tab key.
Step 3: While adding the server using a key, Make sure that the key is correct and does not contain any strange characters or space while copy-pasting.
Step 4: Check the error log of the remote server to which you are trying to login.
For Centos
:~# /var/log/secure
For Ubuntu
:~# /var/log/auth.log
Step 5: Check the error logs
Related Articles: