Since about 8 hours ago I am unable to ssh into my server. This was working fine until it just stopped. I tried to reset the root password and am allowed to reset it. But after I try to login using the new password from the console, the vm will not let me in. I then spun up a new vm from a snapshot of the previous one, this time with ssh key enabled - still no luck. Cannot login even with the ssh key. Any thoughts/ideas would be great.
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!
If you can login from the console make sure the ssh daemon is running with sudo service ssh status
if it is not running start it with sudo service ssh start
If you have the firewall enabled make sue to allow ssh incoming connections: ufw allow 22/tcp
Hoe this helps.
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.