Skip to content
Host4u Limited

Connecting to your VPS by SSH

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

SSH gives you a command line on your VPS, for running commands and managing the server. You need the VPS's IP address (or host name), a user name (often root) and the password. These were sent to you when the VPS was set up.

From Windows, Mac or Linux

Open a terminal (on Windows, PowerShell or Command Prompt) and run:

ssh root@your-vps-ip

Replace your-vps-ip with the address. Type yes if asked to trust the server, then enter the password. The characters do not show as you type.

With PuTTY (Windows)

  1. Open PuTTY and enter the VPS's IP address or host name in Host Name. Leave the port as 22 unless you were told another.
  2. Click Open.
  3. Enter the user name when asked (often root), then the password.

Other programs such as MobaXterm or KiTTY work the same way.

Problems

  • "Connection timed out" or "refused": check the IP address, that the VPS is running, and that nothing is blocking port 22, such as your office network or a firewall on the VPS.
  • "Permission denied": check the user name and password. If you have an SSH key set up, use it.
  • Lost the password: open a support ticket with your VPS details.

Treat root access with care: a wrong command can break the server.


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal