Skip to main content

What username for Login to Console on a Digital Ocean Droplet running FreeBSD 12 [Resolved]

As an alternative to making an ssh connection to your Droplet on DigitalOcean, they offer a "Console" which is a VNC connection, akin to plugging a monitor and keyboard into your virtual server.

When opening such a Console window, I am prompted for a login and then password.

Having created my Droplet with a SSH key, I do not know what the login might be, nor what the password might be.

? How does one login via the Console to a Droplet on DigitalOcean?

My Droplet is running FreeBSD 12, if that matters.

I have seen the documentation page, How to Regain Access to Droplets using the DigitalOcean Droplet Console. That page does have a section Log In with the Console. But little explanation of the login name or password is given. It mentions:

At the login prompt, enter the user you want to log in as. This will typically be the root user or a user configured with sudo privileges.

But for my new FreeBSD droplet, root did not work as a login name.

If I use the freebsd user, I am stuck at the prompt for a password. There is no password established, so Catch-22.

login: freebsd
Password: 
Login incorrect
login:

…and on it goes.


Question Credit: Basil Bourque
Question Reference
Asked July 21, 2019
Posted Under: Network
26 views
2 Answers

tl;dr

On your Droplet admin page, Access tab, click Reset Root Password button to establish a password for the root user on your FreeBSD system.

Details

By default neither of your given users on FreeBSD, freebsd & root, have a password established. This effectively disables remote logins via SSH, good for security.

Your use of SSH keys automatically logs you in as either user.

ssh freebsd@123.123.123.123

…or…

ssh root@123.123.123.123

If you have not gone out of your way to establish passwords for either user, then you must use the Reset Root Password button on the Access tab of your Droplet admin page on DigitalOcean.com. This button will create a password for the root user on your FreeBSD VM if a password does not exist. If a password does exist, the old will be replaced by a new password.

screenshot of the DigitalOcean.com Droplet administration page, on the Access tab, pointing out the two buttons, "Reset Root User" & "Launch Console".

After establishing the password, then use the other button on that same panel of the Droplet admin page on Access tab: Launch Console button. This creates a server-local shell session, as if you plugged a keyboard & mouse into the server box. You see the session remotely via a VNC session displayed in your web browser.


credit: Basil Bourque
Answered July 21, 2019

The documentation says that the default username for FreeBSD droplets is freebsd.


credit: Michael Hampton
Answered July 21, 2019
Your Answer
D:\Adnan\Candoerz\CandoProject\vQA