Setting Putty with SSH
-
Are you trying to connect with SSH key or password? It is possible the password authentication might be disabled on your server causing this error. I'd whether the password authentication is disabled in the SSHD config. If it has the below line, means the password authentication is disabled. PasswordAuthentication no To enable, change that line the SSHD configuration as follows and restart the SSHD service. PasswordAuthentication yes 0 -
The path to the SSH config file is: [QUOTE] / etc / ssh / sshd_config 0 -
Are you trying to connect with SSH key or password? It is possible the password authentication might be disabled on your server causing this error. I'd whether the password authentication is disabled in the SSHD config. If it has the below line, means the password authentication is disabled. PasswordAuthentication no To enable, change that line the SSHD configuration as follows and restart the SSHD service. PasswordAuthentication yes
SSH Key. It is how it was setup before, but keys were inadvertently lost. Long story. Trying to re-setup, but then this issue. From ssh_config # PasswordAuthentication yes That said, nothing on server side in back-end has changed. Seems that error message indicates not trying to connect using keys, but via password authentication. I have Putty setup to use generated .ppk file as "Private Key File for Authentication"0 -
I had Putty looking at non-existent .ppk file. Changed that. Now get this: Server refused our key 0 -
Resolved. I was setting up SSH Keys at domain level instead at root level by following instructions here: SSH Access | cPanel & WHM Documentation 0 -
Glad you have it resolved. 0
Please sign in to leave a comment.
Comments
6 comments