How do you connect to a VPS with SSH?
Short answer
To connect to a VPS with SSH, paste the login line your host supplies (ssh [email protected] in the examples here) into a terminal, accept the host fingerprint the first time, and sign in with your key or the one-time password. VPSRomania shows that exact command on each server page, for KVM plans from $4.82 a month paid in crypto.
In brief
- Where: the “SSH command” line on the server page, with the IPv4 address once the server is ready.
- Who: root, by your SSH key; without a key, by the temporary root password shown under “Root password”.
- First time: SSH asks to trust the host fingerprint; later changes trigger a warning worth reading.
- Clients: OpenSSH is built into Linux, macOS and Windows 10/11; PuTTY is optional.
- Shortcut: an entry in ~/.ssh/config turns the command into ssh bucharest.
What do the common SSH errors mean?
Four messages cover most failed first logins. Each points to a different layer: network, service, credentials or host identity.
| Message | Usual cause | What to try |
|---|---|---|
| Connection timed out | Wrong IP, server still being created, or a firewall dropping port 22 | Check the IP on the server page and the status; test ping |
| Connection refused | Nothing listens on that port: sshd stopped or moved to another port | Add -p and the new port number; or reboot from the server page |
| Permission denied (publickey) | The client offers a key the server does not hold, or password login is off | Point to the key with -i; check the user is root |
| REMOTE HOST IDENTIFICATION HAS CHANGED | A reinstall generated a fresh host key | If you requested that reinstall, clear the old entry with ssh-keygen -R and the IP |
Messages are those printed by the OpenSSH client; wording can differ slightly between versions.
How to make the first SSH connection to a new VPS?
Let the build finish
As long as the status says “Being created”, there is no address yet. When staff have finished, the server page lists the IPv4, the user name and a ready-made login line.
Grab the login line
A copy icon sits beside “SSH command”; the line reads ssh root@ and then the server's IPv4.
Open a shell and paste
Terminal on Linux and macOS, PowerShell on Windows. A key kept outside the default folder needs -i followed by its file path.
Trust the host once
The client shows a fingerprint for the server and waits for an answer. Typing yes stores it in ~/.ssh/known_hosts, which every later session compares against.
Log in
With a key, you are in. With the temporary password, paste it from “Root password”, then run passwd at once: from then on the displayed password is dead and only you hold the replacement.
Save a shortcut
Add a Host block to ~/.ssh/config so that ssh bucharest connects with the right user, IP and key.
ssh [email protected]
ssh -i ~/.ssh/vpsromania_ed25519 [email protected]
ssh root@2001:db8:1234::10
# after logging in with the temporary password
passwdHost bucharest
HostName 203.0.113.10
User root
IdentityFile ~/.ssh/id_ed25519
ServerAliveInterval 30Why does SSH ask about a fingerprint the first time?
SSH has no other way to know it is talking to your server and not to a machine in the middle, so it asks you to trust the host key once and remembers it. That prompt is the moment to be careful on a network you do not control. After the first answer, the key sits in known_hosts and any change produces the loud “REMOTE HOST IDENTIFICATION HAS CHANGED” warning. A reinstall from the client area creates a new host key, which is the one harmless reason for that warning: delete the stale line with ssh-keygen -R followed by the address, and log in afresh. A warning with no reinstall behind it deserves a stop and a message to support.
Which SSH client is best on Windows, macOS and Linux?
The built-in OpenSSH client is the best default on all three systems, because the same commands and the same config file work everywhere. Windows has shipped it since Windows 10 version 1809, so PowerShell understands ssh, scp and ssh-keygen. PuTTY still works and has a graphical session list, but it uses its own key format (.ppk) and needs PuTTYgen to convert keys. Termius and similar apps help on phones. For file transfers, scp and sftp come with OpenSSH; WinSCP and FileZilla speak SFTP over the same port 22.
What if the VPS does not answer on SSH?
First check the status on the server page: a server still “Being created” has no IP yet, and a suspended one refuses connections. If it runs, ping the IPv4 address. No reply after a firewall change usually means port 22 was closed by mistake; the “Reboot” action on the server page restarts the machine with its data intact, which clears a hung service but not a firewall rule saved to disk. server not responding lists the next checks and what to send support. Any downtime caused by VPSRomania is refunded to the balance as days.
Which jobs come right after the first SSH session?
Patch the packages, add a personal sudo account and switch off password logins, in that order. Keep the root window open and prove the new account works from another window first. how to secure a linux vps walks through it, and how to generate an ssh key helps if you ordered without one. According to VPSRomania's survey of 30 November 2026, 18 of the 31 hosts read sold a crypto-paid VPS with no ID and a stated country, and VPSRomania prints the exact SSH command for each of its servers. The bucharest vps page details the Romanian servers.
SSH connection questions
What is the default SSH port on a VPSRomania server?
Port 22, with root as the user. If you move sshd to another port, add -p and the new number to every command.
Can I connect to a VPS with SSH from a phone?
Yes, with an SSH app such as Termius on iOS or Termux on Android. Import or generate a key in the app, then add its public line to /root/.ssh/authorized_keys.
Why does my SSH session drop when idle?
Some home routers close idle connections. ServerAliveInterval 30 in ~/.ssh/config sends a small keep-alive every 30 seconds.
Which is the best way to copy files to a VPS over SSH?
scp for a few files, rsync for folders and repeated syncs, sftp or WinSCP for a graphical view. All three use the SSH login you already have.
Can VPSRomania log in to my server for me?
With key-only access, nobody but the key holder can log in. The team acts on reboots and reinstalls at the provider, never inside the system.
Verdict
- One command from the server page, one fingerprint check, and the VPS is yours.
- Change a temporary password at once, then move to key-only logins.
Get a server to SSH into
VR 1 in Bucharest: a single vCPU, 1 GB of memory and 20 GB of NVMe, root by SSH, $4.82 a month.
Sources (4)
- ssh(1) manual page — OpenBSD / OpenSSH (read 30 Nov 2026)
- ssh_config(5) manual page — OpenBSD / OpenSSH (read 30 Nov 2026)
- OpenSSH for Windows: first use — Microsoft Learn (read 30 Nov 2026)
- RFC 5737, documentation address ranges — IETF (read 30 Nov 2026)