Add an SSH public key for your hosting account in Plesk (passwordless login)
- 20.02.2026 00:58
-
- hosting
- login
- password
- plesk
- ssh
SSH keys allow you to log in to your hosting account more securely than using a password. Instead of typing the password each time, your computer proves your identity using a key pair.
Before you start
- SSH access must be enabled for your hosting subscription in Plesk.
- You will connect to the service server hostname (from My.GARMTECH), not to your domain name.
Step 1 – Enable SSH access in Plesk
- Log in to Plesk from My.GARMTECH.
- Open Websites & Domains → Hosting Settings (or Web Hosting Access).
- Find SSH access and select a shell (for example
/bin/bashor/bin/sh), then Save.
If you do not see SSH options, your plan may not include SSH access.
Step 2 – Generate an SSH key pair
Linux / macOS (Terminal)
ssh-keygen -t ed25519 -C "your-email@example.com"
This creates:
~/.ssh/id_ed25519(private key – keep it secret)~/.ssh/id_ed25519.pub(public key – this is what you add to the server)
Windows
- If you have OpenSSH: open PowerShell and run the same
ssh-keygencommand. - Or use PuTTYgen to generate a key pair and export the public key in OpenSSH format.
Step 3 – Add the public key in Plesk
Depending on your Plesk interface, you may have one of these options:
Option A: SSH Keys Manager in Plesk
- Open Websites & Domains and look for SSH Keys (or SSH Keys Manager).
- Click Add Key.
- Paste the content of your
.pubfile and save.
Option B: Add authorized_keys via File Manager
- Open Files (File Manager).
- In your home directory, create a folder
.ssh(if it does not exist). - Create a file
authorized_keysinside.ssh. - Paste your public key as a single line and save.
Step 4 – Connect via SSH
Use your hosting system user (often the same as your main FTP user) and your service hostname:
ssh USERNAME@SERVER-HOSTNAME
Troubleshooting
- Permission denied (publickey): confirm you used the correct username and the correct server hostname from My.GARMTECH.
- Key format issues: make sure you pasted the public key (
.pub), not the private key. - Still asked for password: the key may not be applied to the correct user, or SSH access is not enabled for the subscription.
Related Articles
Comments
Add Comment