All Collections
VPS
VPS Management
How to Connect to Your VPS via SSH
How to Connect to Your VPS via SSH

Connecting to your VPS at Hostinger using SSH

Updated over a week ago

While there is a wide variety of available templates, which include control panels, you might prefer using SSH for your VPS management - or wish to install a custom panel.

If you want to connect to your account via SSH, all you need to do is:

Step 1 - Gather Your SSH Details

To find your SSH details, you will need to navigate to the VPS dashboard, then choose the server to which you want to connect:

On the Overview page, click on the VPS access tab to find the details to connect to your account via SSH:

NOTE

  • If you forgot the SSH password, you can simply set a new one by clicking on the Change button

Step 2 - Prepare the Application

Based on which OS you are using on your computer, the next step will require you to either open Terminal or run an SSH client.

OS

What to open and how

Linux

Click Ctrl + Alt + T or Search → Terminal to run terminal

Mac OS

In Spotlight search for Terminal.

Windows

  • Download an SSH client that is suitable for you. We recommend PuTTY

  • Alternatively, click Win + R and type cmd. Press Enter - this will run the Terminal

Follow the steps described in this tutorial to configure Putty: How to Use PuTTY SSH Client.

Step 3 - Connect

If you chose PuTTY, make sure to follow these steps to connect: How to Connect PuTTY.

If you chose Terminal, simply copy this code from your hPanel:

And insert it into your terminal (you can do this by right-clicking in the terminal). Press Enter - the result should look like this:

The terminal screen showing how to enter the command to connect to VPS via SSH

Type yes and press Enter. Then, you’ll need to insert your password:

The terminal screen showing how to enter the password to connect to VPS via SSH

NOTES

  • For security reasons, the password will not be visible, not even as •••••, but your data will still be entered. Don't worry if you don't see any symbols, simply enter the password and press Enter.

  • You can copy and paste the password by right-clicking using a computer mouse. In Windows, this action immediately inserts the password. In Linux, it will open a menu

If the password is correct, you will now be successfully connected to the server. For example, it will look like this:

The terminal screen showing the welcome message after a successful connection to the server

NOTE

  • For an easier connecting process, we recommend using SSH keys

What to Do if You Cannot Connect to SSH

If you cannot connect to SSH, we recommend resetting your Firewall. If that didn't help, reset the SSH configuration as well. For that, simply open Settings in the left menu and click on Reset SSH in the SSH configuration section:

The Reset SSH button on SSH configuration at hPanel

Alternatively, you can use the Browser Terminal feature on your hPanel.

Additional Resources

Did this answer your question?