Description
This check ensures that at least one SSH public key is attached to every Hostinger VPS, so administrators can log in with a key pair instead of relying only on a password. Each VPS in the account is evaluated separately.
Rationale
Passwords can be guessed, reused or stolen. SSH keys are much stronger and cannot be brute-forced in practice. Configuring keys is also the first step toward disabling password login completely, which removes the main target of SSH brute-force attacks.
Impact
Each administrator needs an SSH key pair and must keep the private key secure; protect it with a passphrase
Adding a key does not disable password login by itself. Disable password authentication in the SSH configuration only after confirming that key login works, and keep an existing session open while you test
If a private key is lost, access is possible with the root password or by adding a new key from hPanel
Default Value
No SSH key is attached unless one is added during VPS setup or later in Settings → SSH keys.
Pre-Requisites
Access to hPanel for the account that owns the VPS
An SSH key pair for each administrator (for example created with ssh-keygen -t ed25519)
Remediation
Test Plan
Log in to hPanel at https://hpanel.hostinger.com.
Go to VPS and click Manage next to the server.
In the left sidebar, select Settings and open the SSH keys tab.
If no SSH key is listed, the check fails for this VPS.
Repeat for each VPS in the account.
Implementation Steps
On your computer, create a key pair if you do not have one: ssh-keygen -t ed25519 -C "[email protected]". Copy the contents of the public key file (id_ed25519.pub).
Log in to hPanel at https://hpanel.hostinger.com.
Go to VPS and click Manage next to the server.
In the left sidebar, select Settings and open the SSH keys tab.
Click Add SSH key, paste the public key and save it.
Test the login from your computer: ssh -i ~/.ssh/id_ed25519 root@<vps-ip>.
Optional, after key login works: set PasswordAuthentication no in /etc/ssh/sshd_config and restart the SSH service.
Backout Plan
If password login was disabled, set PasswordAuthentication yes in /etc/ssh/sshd_config and restart the SSH service first.
Log in to hPanel at https://hpanel.hostinger.com.
Go to VPS and click Manage next to the server.
In the left sidebar, select Settings and open the SSH keys tab.
Click Delete next to the key.
Note: Removing all SSH keys leaves password login as the only way in; do this only if strictly needed.
Reference