Can't ssh to a new droplet!

I created a new droplet (A Ghost droplet), set up a new ssh key on my laptop, added the key to DO and set it as in use for this droplet prior to creation.

Can’t ssh in. Permission denied, no matter what I tweak in .ssh/config or on the command line. Trying to ssh as root@<myIP>.

So - reset the password, got the password via mail, went to recovery terminal and still couldn’t log in with user:root, pw: the one I got mailed.

What’s going on here? I’m about 10 minutes from heading over to linode tbh. As I recall DO was really smooth when I was trying it out previously. This is just a pain though.

(All permissions are OK btw … .ssh dir = 700, files in there = 600)

BTW, if it’s relevant, I’ve not associated this with a domain yet as I’m migrating a blog from the platform, so want the new one up and running first before I repoint the domain!

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

Hi @mjnicholson,

You should be able to login without associating any domain to your Droplet.

Now, it’s very strange. Let’s assume you’ve made a mistake while copieing the SSH key prior to the Droplet creation. This still doesn’t explain why you can’t login using the Recovery Console. When you got the e-mail about the new password and you switched to the Console how did you type all of that stuff and what error did you get?

I mean, in the Recovery Console, you need to enter the root user first, hit enter and then add your password.