Report this

What is the reason for this report?

I cannot login via SSH after a droplet resize, is this normal?

Posted on January 15, 2015

I needed to resize a droplet that I accessed via SSH keys, when I created the original droplet with a 1-click-install (ubuntu/rails) I avoided the root password email and went directly with the SSH key in the control panel UI.

I also disabled the root login with “PermitRootLogin without-password”

Then I turned the droplet off using “poweroff” and resized it. Now, the new resized droplet is asking me for a password when I “ssh mydomain.com

Is there a way to connect via SSH as it was working before the resizing? Thanks!



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.

Sometimes it could be the SSH port (22) doesn’t allowed by default when machines restarted.

If you could login to root, you might need to run the following command:

sudo ufw allow ssh

Maybe you are using a wrong SSH port for connecting. Just a thought, maybe it is not correct.

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.