Report this

What is the reason for this report?

After disabling root login, make sure you can SSH to your Droplet as the deploy user and use sudo

Posted on July 10, 2015

Hi there

Warning: After disabling root login, make sure you can SSH to your Droplet as the deploy user and use sudo for this user before closing the root SSH session you opened to make these changes."

am not only new but also a newbie; Now I missed this warning! Have finished setup before I saw it. “Deploying rails on ubuntu 10.04 with capistrano, Nginx, and puma” is the way I want to go with my droplet. So has anyone got a way around this warning? My supperuser is not “deploy”. I made another superuser, “deploy” but can’t log in with it; also can’t ssh to droplet with it. Help will be appreciated!



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.

Thanks… I’ve removed my domain name now.

  1. I started by using the DO console, so unstable I ran away to terminals on my local machines. That’s where I did the initial set up, installed LAMP, ruby and uninstall ruby when I realised deploying according to this tutorial is better for me. Currently I can’t get to shh log in on any of my local machines - I always get “permission denied ().” after 3 “incorrect password” but when I ftp:mydomain on my local machine, I do get in using the same password that ssh login says it’s incorrect.; So I got stuck and came back to DO console and that’s been a nightmare - unstable, unresponsive that I have not been able to do anything for past 24 hours.
  2. I will try PuTTY.
  3. I’m not confident that I have a public/private key pairing correctly.
  4. I look forward to the chat-through

I am online and waiting for you whenever you’re ready… I left my domain name in the above reply, but I’ll delete it if you confirm that you have it already :)

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.