Wheel user SSH keys
Hi guys,
Trying to generate keys for wheel user but keep getting "Server refused our key" in PuTTY.
Here's the steps I took:
- Login to SSH as wheel user
- Ran command
ssh-keygen -t rsa
- Copied the public key from /home/wheeluser/.ssh/
- Authorized the public key through WHM.
- Converted the private key to PPK for PuTTY.
- Used the PPK inside putty AUTH.
- Login to server is prompted with "Server refused our key"
-
I've tried the following as well: - In PuTTY generate new key.
- In WHM -> Manage root"s SSH Keys -> Insert Key -> paste the new keys generated from PuTTY.
- Authorize the key
- In PuTTY use the Private key under Connection->SSH->AUTH
- Login as: wheeluser
- "server refused our key"
0 -
DUHHHH... Getting some sleep helped. For all of those struggling with the same sleepless nights problem, make sure that you have authorized_keys in the .ssh directory for that wheel user. If not run the following while you are inside the home/$USER/.ssh/ directory: touch authorized_keys chmod 600 authorized_keys cat id_rsa.pub >> authorized_keys
0 -
Hello @webtipster ! We're happy to see that you were able to reach a resolution. In that case, I'll go ahead and close this thread. 0
Please sign in to leave a comment.
Comments
3 comments