How do I use SSH keys instead of a password?
SSH keys are a much safer alternative to passwords for command-line (SSH) access. Instead of a password that can be guessed, you use a matched pair: a private key that stays secret on your computer, and a public key that lives on the server. Only the holder of the private key can log in.
To set this up with Dirham A Day:
- Log in to the DirhamHost control panel from my.dirhamaday.ae and open the SSH Access tool.
- Choose Manage SSH Keys, then generate a new key (or import a public key you created on your own computer).
- Authorise the public key so the server accepts it.
- Download the private key and keep it safe; protect it with a passphrase.
- Connect using your SSH client, pointing it at your private key.
Best practices:
- Never share your private key or store it on shared computers.
- Always set a passphrase on the key.
- Remove keys you no longer use from the authorised list.
If SSH access is not enabled on your plan or you need it activated, contact our 24/7 UAE team on WhatsApp +971 58 553 6767 or support@dirhamaday.ae and we will help you get set up securely.
Still need a hand? Our UAE-based team is here 24/7.