How to connect to your Hostinger VPS via SSH

Connecting to your VPS at Hostinger using SSH

Updated 22 hours ago

Secure Shell (SSH) is a protocol used to manage your Hostinger Virtual Private Server (VPS) via a command-line interface. You can access your server directly through your web browser or by using a local SSH client on your computer.

Locate your SSH details

The Web Console method does not require SSH details as it connects automatically. For the web console method or in case you want to know your details:

  1. Go to hPanel VPS.
  2. Click Manage next to the server.

On the VPS Overview page, find the following:

  • Server IP and username: Scroll down to the VPS details card to find the SSH username and your VPS IPv4 address.
  • SSH Password: Use the password you set up when you first configured the server. For security reasons, it cannot be accessed or displayed from hPanel. If you have forgotten the password, click on Change below Root password to set a new one.

Method 1 — Connect via the Hostinger Web Console (recommended)

The web console is the simplest method as it automatically authenticates your session, allowing you to access the server without entering credentials manually or installing third-party software.

  1. Go to hPanel VPS.
  2. Click Manage next to the server.
  3. On the VPS Overview page, click the Web Console button located in the top right corner.
  4. A new window will open, and you will be automatically logged in to your VPS command line.
    1. If you get asked for username and password, refer to the Locate your SSH credentials above. In that case and for security reasons, the web console will not show characters or dots while you type your password.

Method 2 — Connect using a local SSH client

You can also connect using your computer’s terminal (macOS/Linux) or a client like PuTTY (Windows). This method requires you to manually enter your server details.

  1. Open your SSH client.
    1. Windows: Use PowerShell (click Win+R, type cmd and press Enter) or an SSH client like PuTTY.
    2. macOS: Search for Terminal in Spotlight.
    3. Linux: Open the Terminal application (Ctrl+Alt+T).
  2. Copy the SSH command from the Root access header next to the server OS and name.
  3. If asked to confirm the connection, type yes and press Enter.
  4. Enter your password when prompted.

NOTES

  • For security reasons, the web console does not show characters or dots while you type your password.
  • If you do not remember your password, you can set a new one using the Reset password button in the VPS Overview page.

Troubleshooting

If you cannot establish an SSH connection:

  • Reset the firewall: In your VPS dashboard, go to Settings and reset the firewall to default rules.
  • Reset SSH configuration: Under the Settings menu, locate SSH configuration and click Reset SSH.
  • Check server status: If connecting via SSH client, try connecting with the browser terminal to verify if the server is running and responsive.

Additional resources