Skip to content

NewExtra 20% Off on 3-Month Plans! πŸŽ‰ Order your VDS server for 3 months and get an extra 20% off in the cart!

How can we help?

Search our guides and tutorials, or browse the categories below.

How to Connect to a Linux VDS Server via SSH

The main way to manage your Netiyo VDS and VPS servers is an SSH (Secure Shell) connection. SSH creates an encrypted connection between your computer and the server and lets you access the server from the command line. This article explains step by step how to connect to your server from Windows, macOS and Linux.

Before You Start

You need the following details to connect. They are sent to your registered email address when your server is set up and are also available under My Services in the Netiyo Client Area:

  • Server IP address (e.g. 203.0.113.10)
  • Username (usually root for the first login)
  • Password or the SSH key you added during setup
  • SSH port (22 by default)

Connecting from Windows

Windows 10 and 11 come with the OpenSSH client preinstalled; you don't need to install any extra program.

  1. Type PowerShell or Terminal in the Start menu and open it.
  2. Enter the following command with your own IP address and press Enter:
    ssh [email protected]
  3. On the first connection, you're asked to confirm the server's fingerprint. Type yes and press Enter.
  4. Type your password and press Enter. For security reasons, no characters appear on screen while you type the password; this is normal.

If the connection succeeds, you'll see something like root@server-name at the start of the command line.

Connecting with PuTTY (alternative)

  1. Download PuTTY from its official website and open it.
  2. Enter your IP address in the Host Name field and 22 in the Port field, and select SSH as the connection type.
  3. Click Open, then enter root as the username followed by your password.

Connecting from macOS and Linux

  1. Open the Terminal app.
  2. Run the following command:
    ssh [email protected]
  3. Answer yes to the fingerprint question and enter your password.

If You Use a Different Port

If you changed the SSH port from 22 to another value for security, specify the port with the -p parameter when connecting:

ssh -p 2222 [email protected]

Connecting with an SSH Key

Using an SSH key instead of a password is far more secure against brute-force attacks. Create the key pair on your own computer:

ssh-keygen -t ed25519

Then copy the public key to the server (macOS / Linux):

ssh-copy-id [email protected]

From then on, the ssh [email protected] command connects without asking for a password. For the next steps, such as disabling direct root login and creating a separate sudo user, see our Ubuntu VDS initial setup guide.

Common Problems

"Connection timed out" error

The server can't be reached. Check the IP address and port, and make sure the server is running in the Client Area. If a firewall (UFW) is enabled on the server, confirm that the SSH port is allowed.

"Connection refused" error

The server can be reached, but the SSH service isn't responding on that port. You may have typed the wrong port, or the SSH service may have stopped. You can log in to the server through VNC / console access in the Client Area and check the service.

"Permission denied" error

The username or password is wrong, or password login has been disabled on the server. If you forgot your password, you can reset it from the Client Area.

"REMOTE HOST IDENTIFICATION HAS CHANGED" warning

If you reinstalled the server, its fingerprint has changed. Delete the old entry and connect again:

ssh-keygen -R 203.0.113.10

If you didn't reinstall the server and still see this warning, contact our support team before connecting.

Need Help?

If you can't connect to your server, you can open a Support Ticket from the Netiyo Client Area. Including your server IP address and the error message you received helps us resolve the issue quickly.

Was this helpful?

Thanks for your feedback!

Still Need Help?

Our support team is here around the clock for anything you can't find above.