Guide VPS

How do I log into my VPS?

How to log into your new VPS: your username per operating system, logging in via SSH with a password or SSH key, and Remote Desktop for Windows.

By Yvan Watchman Updated

You log into your VPS with the username and password from the email you receive as soon as the automatic installation has finished. You reach Linux servers via SSH and Windows Server via Remote Desktop. You don't log in as root, but with the default user of your operating system.

What you need

  • The IP address of your VPS.
  • Your username.
  • Your password from the email, or your SSH key if you entered one when you ordered.

Step 1: Look up your details

You receive the login details by email after the installation. You can also find the IP address and the username in the client area at my.planetnode.net: go to Services, choose your VPS and open the Server information tab. The card shows IPv4, IPv6 (with a copy button) and User.

The VPS card in the client area with the hostname, the status active, the IPv4 and IPv6 address with copy button, the user ubuntu and the buttons Console, Reboot, Shutdown and Forced reboot.

The username depends on the operating system:

Operating system Username Log in via
Debian debian SSH
Ubuntu ubuntu SSH
AlmaLinux almalinux SSH
Rocky Linux rocky SSH
Windows Server Administrator Remote Desktop

All Linux users have sudo rights.

Not as root

Logging in as root with a password over SSH is disabled. Log in with the user from the table and then become root with sudo -i.

Step 2: Choose how you log in via SSH

That depends on what you filled in when you ordered:

  • SSH key entered (field SSH keys): logging in with a password over SSH is disabled. You log in with your key.
  • No SSH key entered: you log in with the password from the email.

Step 3: Connect via SSH

SSH is built into Windows 10 and 11, macOS and Linux. Open Windows Terminal, PowerShell or Terminal and type (replace USERNAME and IP_ADDRESS with your own details):

bash
ssh USERNAME@IP_ADDRESS

If your SSH key is not in the default location, pass the path:

bash
ssh -i ~/.ssh/your_key USERNAME@IP_ADDRESS

The first time, SSH asks whether you trust the server. Type yes and press Enter. If you log in with a password, you won't see it while you type; that is normal.

Prefer PuTTY? See How do I install PuTTY?

Step 4: Work as root

You are now logged in as a regular user. Put sudo in front of commands that need root rights, for example:

bash
sudo apt update

If you need to run several commands as root, open a root shell:

bash
sudo -i

Type exit to go back to your own user.

Windows Server: log in with Remote Desktop

Open Remote Desktop Connection, enter the IP address of your VPS and log in with the user Administrator and the password from the email. Read more about Windows on a VPS in Can I install Windows on my VPS?

SSH not working? Use the console

In the client area, your VPS has a Console button. It shows the screen of your VPS in your browser. You log in there with the same username and password from the email, even if you entered an SSH key when you ordered. Useful when SSH is blocked by a firewall or a wrong network setting.

Common problems

Permission denied

Usually the username or password is wrong, or you are trying to log in as root. If you see (publickey) after the message, the server expects your SSH key. All causes and solutions are in I can't log in to my VPS (Permission denied).

Connection refused or time-out

Check in the client area whether your VPS is active and start it if needed. Is it running but not responding? See My VPS is unreachable: what can I check myself?

After a reinstall

After a reinstall you log in with the default user of the operating system you chose. Your IPv6 address may change. Check the card in the client area to see which address your VPS has now and update your DNS (AAAA records) and firewall rules if needed.

Still stuck? Create a ticket and mention your server name. Never send your password.

Did this article help you?

Did not find what you were looking for?

Open a ticket and our team will look into it with you. For a quick question, Discord works too.

Open a ticket Go to Discord