I am getting back into web development and cannot connect to ANY newly created droplet using a SSH key.
Steps I Took:
This happens on ANY and ALL droplets I create AND with any SSH Key I generate.
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Heya, @lwgshane
I’m glad that you’ve sorted the issue. I would like to share this article on how to use Visual Studio Code for remote development. I believe it may come in handy when it comes to web dev and code deployment.
https://www.digitalocean.com/community/tutorials/how-to-use-visual-studio-code-for-remote-development-via-the-remote-ssh-plugin
Hope that this helps!
Hey!
Happy to hear that you’ve got this all sorted out by upgrading to the latest version of Putty! And thank you for sharing that information here with the community.
For anyone who might come across this in the future as well, here is a step by step guide on how to connect to your Droplets using Putty:
Best,
Bobby
Heya @lwgshane,
Can you share your logs?
Additionally, what you can do is try and use the WebConsole to connect via SSH to your Droplet:
https://docs.digitalocean.com/products/droplets/how-to/connect-with-console/
Once inside, go to
/root/.ssh/authorized_keys
check if the public key is properly added, is it the same as the one you added or do you see any other problems?Additionally, can you share the logs when trying to connect as well?