I’ve gone through all the tutorials. At first I was getting “refused our key” now I’m getting “unable to open key file”.
Process: Didn’t setup SSH during droplet creation.
PuttyGen > public_key & private_key Enter public_key into SSH Key field in settings>security Open Putty > Enter IP / private_key.ppk
What am I missing here?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello,
I apologize but there isn’t enough information here to really provide much help. Have you tried this article here
Some things to note. Make sure you are including the OpenSSH public key and not the putty public key. An Open SSH key starts with
ssh-rsa
and is the one you need to include on the settings page.In your Putty SSH settings go to
Connection
->SSH
->Auth
Then make sure the boxPrivate key file for authentication
points to the matching .ppk file. Make sure this .ppk file is located in a location that your local computer can read. If it’s not, you will get the cannot read private key error.Once thing of note, if it’s an existing droplet, and you did not include the key on create, updating the settings -> security section won’t work. The DO Control panel can only add keys to new droplets. If you need to add your key to an existing droplet, please do the following.