Report this

What is the reason for this report?

Powered off my VPS, now can't SSH in

Posted on March 26, 2017

I powered off my droplet from the command line to do a snapshot. After powering back up I can’t ssh in. PuTTY gives me a “Server refused our key” error and prompts for password of the root user (providing the password doesn’t get me in either, it says “Access denied”). Any idea what’s happened?



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.

I also found myself in a situation where I couldn’t log into a powered up droplet. I have no idea what I did for get in that situation since the droplet was working fine when I shut it down and took a snapshot.

I’ve made it a point to store two snapshots. Also when I take a snapshot, I restore the droplet from that snapshot. That way I know the snapshot is bootable. I suppose one snapshot is enough if you proved it was bootable.

@nathanscherneck No, not sure what has happened. Did you do update or major changes since last reboot? Go to the control panel, click the droplet, click Access-menu, click reset root password.

Hello all,

In such cases, it’s best to use the Recovery Console to see what’s going on :

https://docs.digitalocean.com/products/droplets/how-to/recovery/recovery-console/

It’s possible the Droplet had kernel panic or something similar. As such using the recovery console should help you pinpoint the exact issue.

From that point on it’s about troubleshooting. Sometimes though, you won’t be able to resolve the issue. When that happens best to contact DigitalOcean’s Support.

https://www.digitalocean.com/support/

Hope that helps! - KFSys.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.