How do I log in to my VPS (SSH, browser console, keys, root password)?
There are three ways:
1. SSH from your computer - in the "Access" section of the VPS page you will find the IP address and the SSH port (the first of the forwarded NAT ports, not 22). Connect with: ssh -p PORT root@ADDRESS. On Windows you can use the built-in PowerShell or PuTTY.
2. Browser console - the "Console in browser" button opens a terminal without any program. It works independently of SSH, so it also helps if you lock yourself out with a wrong SSH or firewall configuration. The session survives a dropped connection - after returning click "Reconnect". The console is available only for a running server.
3. SSH key instead of a password (recommended) - in "Server SSH keys" add a public key in OpenSSH format (for example ssh-ed25519 AAAA... comment) or choose it from your account key library. The key is appended to /root/.ssh/authorized_keys. Keys added manually on the server are left untouched.
Root password: visible after clicking "Show / hide". Lost it or changed it and do not remember? Click "Reset password" - we set a new random one (works while the server is running) and the old one stops working.
Security tip: after adding an SSH key consider disabling password login in /etc/ssh/sshd_config (PasswordAuthentication no) and install fail2ban. Take a snapshot from time to time - it helps before a risky change.
1. SSH from your computer - in the "Access" section of the VPS page you will find the IP address and the SSH port (the first of the forwarded NAT ports, not 22). Connect with: ssh -p PORT root@ADDRESS. On Windows you can use the built-in PowerShell or PuTTY.
2. Browser console - the "Console in browser" button opens a terminal without any program. It works independently of SSH, so it also helps if you lock yourself out with a wrong SSH or firewall configuration. The session survives a dropped connection - after returning click "Reconnect". The console is available only for a running server.
3. SSH key instead of a password (recommended) - in "Server SSH keys" add a public key in OpenSSH format (for example ssh-ed25519 AAAA... comment) or choose it from your account key library. The key is appended to /root/.ssh/authorized_keys. Keys added manually on the server are left untouched.
Root password: visible after clicking "Show / hide". Lost it or changed it and do not remember? Click "Reset password" - we set a new random one (works while the server is running) and the old one stops working.
Security tip: after adding an SSH key consider disabling password login in /etc/ssh/sshd_config (PasswordAuthentication no) and install fail2ban. Take a snapshot from time to time - it helps before a risky change.
271 views
Didn't find an answer? Contact us.