By WilliamRails
Hi There,
I have tried all the Tutorial about how to enable a WINDOWS Client connect with SSH after generate keys.
I could add the public key to the DROPLET using :
cat ~/.ssh/id_rsa.pub |
ssh username@203.0.113.0 “mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys”
I could also check that the authorization key from the CLIENT MACHINE i need grant access is there after the step above
BUT … Even with this … Putty receives a “Server Refused our key” error message and ask me for root password.
Please I need this instructions as I CONSTANTLY need to aprove another CLIENT to access DROPLET .
Waiting for return
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @WilliamRails
Just to clarify this with you, at the moment you have both password and pubkey authentication enabled on your droplet? I’m asking this because you’ve mentioned that you get the error message during a password prompt.
You need to ensure that the permission of the ~/.ssh folder is 700 and 644 for the ~/.ssh/authorizedkeys
If you’ve double checked the ~/.ssh/authorizedkeys file and you can confirm that the client’s key is there, then this might be an issue with their IP being blocked.
You can examine the ```/var/log/secure’‘’ file and check for the client’s IP address:
grep IP /var/log/secure
You can double check the tutorial for the PuTTY connection on Windows machines here:
https://www.digitalocean.com/docs/droplets/how-to/connect-with-ssh/putty/
Hope that helps!
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.