All Collections
Files Management
SSH Connection and SSH Keys
How to generate SSH keys and add them to hPanel
How to generate SSH keys and add them to hPanel

Generating SSH keys and adding them to Hostinger’s hPanel

Ignas Rimkūnas avatar
Written by Ignas Rimkūnas
Updated over a week ago

SSH is a very convenient and fast way to manage your hosting account if you have a Premium or above plan. To make it even faster and more secure, we highly recommend generating SSH keys and adding them to your hPanel. The process is as follows:

Step 1 - Generate the keys

Depending on your system, there are these ways to generate SSH keys:

Step 2 - Add keys to hPanel

Once you have your keys generated, all you will need to do is open the Public key (usually id_rsa.pub) with any text editor and copy all of its contents. Then open Websites → Manage, search for SSH access on the sidebar and click on it:

Scroll down and click on Add SSH key:

NOTE:

Insert the name by which your SSH key will be saved, the public key itself, and click on Add SSH key:

That’s it, now that the SSH key is added, an SSH password won’t be needed when logging in to your server.

All the added SSH keys will be displayed on the same page, from where you can edit or delete them:

NOTE:

  • Only a Public key has to be added to hPanel, make sure to never share your Private key with anyone. Your Private key should be kept on your local device only

Did this answer your question?