You'll connect to your VPS over SSH, an encrypted remote terminal where you manage the VPS with commands. We'll also show how to upload files to the VPS over SFTP and what to do when you can't connect.
What you'll need
- An active StormHost VPS (Ubuntu 24.04 or Debian 13)
- A computer with Windows 10/11, macOS or Linux
- Access to the customer area
- About 10 minutes
How it works#
SSH (Secure Shell) is a protocol for managing a server remotely. An SSH server runs on the VPS and listens on port 22. You start an SSH client on your computer, enter the VPS IP address, user and password, and you get a command line right on the server. Everything you type travels encrypted.
The first time, you log in to the VPS as the root user. Root is the system administrator and can do absolutely anything on the VPS, so handle it with care and never give its password to anyone.
Right after payment
A new VPS updates itself on first boot and restarts once. You'll see the progress in the Console tab, in the line Installation: Preparing the system → Creating the VPS → Starting → Finishing (updates, 1 restart) → Done. The page updates by itself. Wait until the line shows Done and disappears before you connect. If you see the message “The VPS is booting for the first time and installing system updates.” instead, wait until it disappears.
Where to find the IP address and root password#
- Log in to the customer area.
- Open My services and click your VPS.
- Go to the Network tab.
- Copy the IPv4 address (for example
203.0.113.10). - Go to the Console tab. Below the power buttons there is the row “User root · Password”. Click Show next to the password and copy it with the Copy password button. It hides itself again after a minute.
After payment you also received an email “Your VPS is ready” with a ready-made connection command in the form ssh [email protected].
Details hidden?
If you see a hatched bar instead of the IP address, you have Streamer mode on, which hides sensitive details. Click Show details at the top. More in the Customer area guide.
Connecting to the VPS#
The same command works on every system:
ssh root@<VPS_IP_ADDRESS>ssh– starts the SSH client.root– the user you log in as.@– separates the user from the server address.<VPS_IP_ADDRESS>– the IPv4 address from the Network tab.
Replace <VPS_IP_ADDRESS> with your IP address without the angle brackets, so the result looks like this: ssh [email protected].
Windows
Windows 10 (version 1809 and later) and Windows 11 have the OpenSSH client built in, so there's nothing to install.
Right-click the Start menu and choose Terminal (Windows 11) or Windows PowerShell (Windows 10).
Type the command and confirm with Enter:
PowerShell ssh [email protected]On the first connection, answer the key fingerprint question with
yes(see the Server key fingerprint section below).Paste the root password and press Enter. In Terminal you paste with Ctrl+V or a right-click.
If Windows says it doesn't know the ssh command, install it: Settings › System › Optional features (in Windows 10 Settings › Apps › Optional features), then add the OpenSSH Client feature. Or in PowerShell run as administrator:
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0Alternative: PuTTY
PuTTY is a standalone SSH client with a graphical window. Download it only from the author's official page (opens in a new window).
- Start PuTTY.
- In the Host Name (or IP address) field, type the VPS IP address.
- Leave Port at
22and Connection type at SSH. - Optional: type a name in the Saved Sessions field (for example
my-vps) and click Save. Next time you just click the name and Load. - Click Open.
- On the first connection, a PuTTY Security Alert with the key fingerprint appears. Click Accept.
- At the
login as:prompt, typerootand press Enter. - Paste the password with a right-click (in PuTTY the right mouse button pastes, not Ctrl+V) and press Enter.
macOS
Open the Terminal app (Applications › Utilities › Terminal, or Cmd+Space and type “Terminal”).
Type the command and press Enter:
bash ssh [email protected]On the first connection, answer
yesto the key fingerprint question.Paste the password with Cmd+V and press Enter.
Linux
Open a terminal (in Ubuntu with Ctrl+Alt+T).
Type the command and press Enter:
bash ssh [email protected]On the first connection, answer
yesto the key fingerprint question.Paste the password with Ctrl+Shift+V and press Enter.
If the ssh command is missing, install the openssh-client package (on Debian and Ubuntu sudo apt install openssh-client).
Server key fingerprint on the first connection#
On the very first connection, the SSH client prints roughly this:
The authenticity of host '203.0.113.10 (203.0.113.10)' can't be established.
ED25519 key fingerprint is SHA256:...
Are you sure you want to continue connecting (yes/no/[fingerprint])?Every SSH server has its own key that the client recognizes it by. Your computer doesn't know this server yet, so it asks whether to trust it.
- Type the whole word
yesand press Enter. Justyisn't enough. - The client saves the fingerprint to the
known_hostsfile in the.sshfolder in your home directory and won't ask again. - If the fingerprint changes later, the client refuses to connect with the warning
REMOTE HOST IDENTIFICATION HAS CHANGED. This protects you from an impostor server. What to do about it is in the Troubleshooting section.
Entering the password#
At the [email protected]'s password: prompt, paste the root password and press Enter.
Nothing shows while you type the password
You won't see asterisks or the cursor moving. That's on purpose, so nobody can tell how long the password is. The password is still being entered. Paste it once and press Enter; don't paste it repeatedly.
The password is long and random, so paste it from the clipboard instead of typing it by hand. Make sure you don't copy a space at the beginning or end.
What you'll see after logging in#
After a successful login, the system prints a welcome text (on Ubuntu it starts with Welcome to Ubuntu 24.04, on Debian with a line Linux and the server name) and below it a command prompt:
root@nazev-vps:~#root– you're logged in as root.nazev-vps– the VPS name (hostname).~– you're in your home directory (for root that's/root).#– the sign for the root user. A regular user has$at the end.
Now you can type commands. For a start, try:
hostnamectlhostnamectl– prints the VPS name and the operating system and kernel versions. This confirms you're on the right server.
The most-used commands for working with files, packages, services and logs are in the Basic Linux commands guide.
Logging out#
Type exit and press Enter, or press Ctrl+D. The connection closes and you're back in your computer's terminal. Programs you started in the foreground end when you log out. Run apps that should keep running as a systemd service or in Docker (see Docker and Docker Compose).
Verification#
The connection works if:
- you see the
root@…:~#prompt, - the
hostnamectlcommand shows Ubuntu 24.04 or Debian 13, depending on what you ordered.
Transferring files over SFTP#
SFTP is file transfer over the same SSH connection. It uses the same address, port, user and password as SSH; nothing else needs to be set up on the VPS.
Option 1: the Files tab in the customer area. Open the VPS and the Files tab. You'll find a file manager in the browser (uploads, edits, permissions). A single file can be at most 100 MB, and archives can't be extracted in the customer area. Upload bigger files with an SFTP client.
Option 2: an SFTP client on your computer. Good for large files and whole folders.
| Program | System | Note |
|---|---|---|
| WinSCP | Windows | Clear two-panel window, also handles SSH keys from PuTTY. |
| FileZilla | Windows, macOS, Linux | When downloading from the official site, decline any bundled extra programs if the installer offers them. |
| Cyberduck | macOS, Windows | Simple interface. |
In the client, fill in:
| Field | What to enter |
|---|---|
| Protocol | SFTP (not FTP; FTP doesn't run on the VPS) |
| Server / Host | The VPS IP address, for example 203.0.113.10 |
| Port | 22 |
| User | root |
| Password | The root password |
On the first connection the SFTP client also asks about the server key fingerprint; confirm it just like with SSH.
Changed the root password?
The Files tab logs in with the password it has stored. When you change the root password with passwd, open Files › Change credentials, enter the user, port and new password and click Verify and save. Details in the Securing a new VPS guide.
Troubleshooting#
Connection timed out#
The client waited for a reply and got none.
- Check the IP address. It must be the IPv4 address from the Network tab.
- Make sure the VPS is running: in the Console tab the status must be Running. If it's off, click Start.
- If the VPS is new, wait a few minutes for the first boot with updates to finish.
- Check the Firewall tab. If you have the Block everything except allowed mode, there must be a rule allowing TCP port 22 (see Firewall in the customer area).
- If you turned on the UFW firewall inside the VPS, it must have a rule for SSH. UFW silently drops blocked connections, so it shows up exactly as a timeout. Fix it through the browser console with
ufw allow 22/tcp. - Try connecting from a different network, for example over mobile data. Some company and school networks block port 22.
Connection refused#
The server replied, but nothing accepts connections on port 22, or the connection was explicitly refused.
- The SSH service isn't running on the VPS, or you changed the SSH port. If you changed the port, connect with the
-poption, for examplessh -p 2222 [email protected]. - fail2ban may have blocked your IP address after several failed logins. How to unblock it is in the Fail2ban guide.
- The Firewall tab may have a rule with the Reject action that applies to SSH.
In all cases you can get into the VPS through the browser console, which doesn't depend on the VPS network.
Permission denied, please try again.#
The server rejected the password.
- Paste the password from the clipboard and check that it has no space at the beginning or end.
- If you changed the root password with
passwd, the new password applies. The Console tab (Show next to the password) still shows the password from when the VPS was created. - After several failed attempts, fail2ban may block you (see above).
Permission denied (publickey).#
Password login is turned off on the VPS and the server accepts only an SSH key. Connect with your key as described in the SSH key guide. If you don't have the key, log in through the browser console and add a key, or temporarily allow passwords.
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!#
The server key fingerprint is different from the one your computer remembers. That's fine if you reinstalled the VPS or restored it from a backup. Delete the old fingerprint:
ssh-keygen -R 203.0.113.10ssh-keygen– a tool for working with SSH keys.-R 203.0.113.10– removes the stored fingerprint for this address from theknown_hostsfile.
Then connect again and confirm the new fingerprint with yes.
Didn't change anything?
If you didn't reinstall or restore the VPS, don't ignore the warning and don't enter the password. It may be an impostor server. Contact us (support).
Received disconnect … Too many authentication failures#
You have several SSH keys on your computer and the client tries them all before it gets to the password. The server closes the connection after a few attempts. Force a password login:
ssh -o PubkeyAuthentication=no [email protected]-o PubkeyAuthentication=no– don't try SSH keys for this connection; ask for the password right away.
Windows: ssh : The term 'ssh' is not recognized#
The OpenSSH client isn't installed. Install it as described in the Windows tab above, or use PuTTY.
Summary
- You'll find the IP address in the Network tab and the root password in the Console tab behind the Show button.
- Connecting:
ssh root@<VPS_IP_ADDRESS>; on Windows it works in Terminal and in PuTTY. - On the first connection, confirm the key fingerprint with
yes; the password doesn't show while you type. - Transfer files over SFTP (WinSCP, FileZilla, Cyberduck) with the same details, or in the Files tab.
- When SSH doesn't work, you can always get into the VPS through the browser console.
- Next step: secure your VPS and set up an SSH key.