VPS Dedicated Server SSH

How to connect to VPS with SSH

VPS & Dedicated Servers 542 views 2 min read Updated 1 hour ago
Quick Answer

Open a terminal and run ssh username@server-ip using the IP and username shown in your Nakroteck service details.

SSH is the standard encrypted connection for managing a Linux VPS or dedicated server. You need the primary server IP, SSH username, password or private key, and the SSH port when it is not the default port 22.

Find your details

  • Go to Client Area > Hosting.
  • Open the VPS or dedicated server.
  • Copy the primary IP, username, and connection port shown for that service.
  • Use the password or private key created for the server. Do not use your Nakroteck account password.

Connect from Windows

  1. Open Windows Terminal or PowerShell.
  2. Run ssh username@server-ip.
  3. Accept the server fingerprint only after confirming the IP is correct.
  4. Enter the server password when prompted. The password will not be shown while you type.

Connect from macOS or Linux

Open Terminal and run:

ssh root@154.12.34.56

Replace the example username and IP with the values shown in your service. For a custom port, use ssh -p 2222 username@server-ip.

Connect with a private key

Store the private key on your own device and restrict its permissions. On macOS or Linux, use chmod 600 key-file, then connect with ssh -i key-file username@server-ip. Never paste a private key or root password into a support ticket.

Common connection errors

  • Connection timed out: confirm the IP, port, firewall rules, and that the VPS is online.
  • Connection refused: SSH may not be listening on that port or the service may still be starting.
  • Permission denied: verify the username, password, key, and whether password login is enabled.
  • Host identification changed: stop and confirm whether the VPS was rebuilt or its host key legitimately changed before removing the saved key.

After your first login

Install operating-system updates, create a separate administrator account, configure SSH keys, and review firewall access. Disable password or root login only after confirming key-based access works in a second session.

Need a VPS?

Compare available resources and billing terms on the Nakroteck VPS hosting page.

Was this article helpful?
Still need help?

If this article did not solve it, open a support ticket and we will see which article you already checked.

Contact Support
Share
Email