How to connect to a hosting plan via SSH in Hostinger

Learn how to get SSH access to your Hostinger hosting plan and connect using the SSH client for your operating system.

Updated 4 days ago

Connect to your hosting plan via SSH to access your account directly from the command line, using the login details found in Hostinger dashboard. SSH access is available on Premium Web higher plans — it isn’t available on Single Web plans.

Step 1 – Enable SSH access and copy the SSH command

The first thing you will need to do is enable SSH access. It can be done from your SSH Access page in Hostinger dashboard.

The SSH details card on the SSH Access page also shows your server’s host key fingerprints in three formats: ED25519, ECDSA, and RSA. You use them to verify the server in Step 3. After this, copy the SSH Command:

Step 2 – Choose an SSH client for your operating system

Linux

macOS

Windows

You can use Terminal for SSH connection

To run it, click Ctrl + Alt + T or Search → Terminal

You can use Terminal for SSH connection

To run it, search for Terminal in Spotlight

You can use any SSH client available

We recommend PuTTY (full tutorial), PenguiNet, or connecting via PowerShell

Step 3 – Connect to your hosting plan via SSH

In the case of Terminal, insert the command you copied in the first step. For PuTTY, insert the parameters as described in the tutorial. In both cases, you will see the result like this:

The authenticity of host '[185.185.185.185]:65002 ([185.185.185.185]:65002)' can't be established.
ECDSA key fingerprint is SHA256:Eze2ImXw1MWfgAMbcWxfc2EQwAkgTHOEPsNwSnEAHAQ.
Are you sure you want to continue connecting (yes/no)? 

This prompt is expected the first time you connect. Before typing yes, compare the fingerprint in the prompt with the matching Host key fingerprint on the SSH Access page in Hostinger dashboard. For example, if the prompt shows an ECDSA key fingerprint, compare it with Host key fingerprint (ECDSA). Type yes if the values match. If they don’t match, type no and check that you’re connecting to the IP address and port shown on the SSH Access page.

Then, you will be asked to insert the password:

u123456789@185.185.185.185's password:

NOTES

  • For security purposes, the password won’t be displayed, even as •••••, but data is still inserted. Don’t worry about not seeing symbols; insert the password and press Enter

  • Password can be copied and pasted with the right-click of a computer mouse. On Windows, it inserts the password immediately; On Linux – opens a menu with actions

  • The SSH password is the same as the FTP password of your main domain. If you are not sure about the exact value, you can set a new password for both FTP and SSH or create an SSH-only password

As soon as you insert the password and press Enter, you will see this text from the next line:

-bash-4.2$

It means that you successfully logged into your account via SSH!

NOTES