How to connect to a server over SSH, step by step
One command in a terminal is enough to manage a Linux server. Below: where the password is, how to sign in and what to do if access is lost.
How to sign in over SSH
On Windows 10 and 11 open PowerShell or Terminal: the ssh command is built in. On macOS and Linux open Terminal. Remote Desktop Connection does not work with a Linux server without extra setup.
- Open the server's page in the panel and find the Password row. The eye button shows the password.
- Run in the terminal:
ssh root@server_address
- On the first sign-in the system asks about the key fingerprint. Answer
yes. - Type the root password. Nothing shows while you type, that is normal. The default port is 22.
If it says Permission denied
The password did not match. On the server's page press Reset the password and sign in with the new one. We never send passwords in messages and never ask customers for them: take it only from the panel.
If SSH access is lost
This happens, for example, after ufw is turned on without allowing port 22. You can get in through the console in the panel:
- On the server's page press Console, then Open the console.
- Sign in as root with the password from the panel.
- Run one of the commands:
ufw disableto turn ufw off, orufw allow 22/tcp && ufw enableto keep SSH open.
The console link works for a few minutes. If it has expired, open the console again.
What to do after the first sign-in
- Change the password with
passwd. - Turn on key sign-in. On your own computer run
ssh-keygen -t ed25519, thenssh-copy-id root@address.
Questions
Where is the root password?
On the server's page in the panel, in the Password row. Press the eye button to see it.
Why does nothing show when I type the password?
SSH hides the password as you type. Just type it and press Enter.
Can I connect to Linux with Windows Remote Desktop?
Not without extra setup. For Linux use SSH or the console in the panel.
More in the help
- How to reinstall the system on a server
- UFW blocked SSH: how to get back into the server
- An XFCE desktop on an Ubuntu server over RDP
- How to add an extra IP address to a server
- Signing in and protecting your account: e-mail, Google, Telegram, a code
- One-click apps: how to install one on a server
- Traffic and speed: what a plan includes
- Payment, renewal and auto-renewal of a server
- Which server to choose for your task
- Why a service shows another country for the server
- How to move to a higher plan and carry your data over
- Windows Server 2022 on a server: plans and connecting
- How to make a Minecraft server to play with friends
- How to put mods on a Minecraft server: Forge and Fabric
- How to make your own CS2 server to play with friends
- How to run a Telegram bot on a server so that it works 24/7
- How to put n8n on your own server: no limits on runs
- PIRS partner programme: 20 % of payments, with no end date