Question

username to use with ssh

What username do I use to ssh to my instance?


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.

Hello there,

The default username is root on most operating systems, like Ubuntu and CentOS. Exceptions to this include Rancher, where you’ll log in as rancher, and FreeBSD, where you’ll log in as freebsd.

You can check our tutorial on How to Connect to Droplets with SSH

https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/

Hope that this helps!

Hi @CuteLightCyanYacht,

If you are asking about your Droplet, you can SSH with the root user. In case you’ve provided your public key in the creation process then it would have been replicated on the Droplet and you should be able to login instantly with

  1. ssh root@XXX.XXX.XXX.XXX

where XXX.XXX.XXX.XXX is your Droplet’s IP address.

If you haven’t provided your public key and you can’t connect, I’ll recommend checking the following docs :

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