Skip to content
Help Center Search the help center/
Guide

Add an SSH key

With an SSH key you log in to your hosting or your VPS without a password. You add the public key in DirectAdmin or on the server.

About 2 minutes Updated 6 Nov 2026
Faster: let an AI app do itMCP

If you’ve connected Inleed to an AI app, just write what you want done, for example:

Add my public SSH key to the hosting for example.se

Done. The key is added to your hosting, and you can log in with it.

How to connect an AI app Works with Claude, ChatGPT and Codex

Before you start

  • You need a key pair. Create it on your computer with ssh-keygen or PuTTYgen.

How to add the key

A

Hosting

You add the key in DirectAdmin.

  1. 1

    Log in to DirectAdmin and open SSH Keys under Advanced Features.

  2. 2

    Click Paste Key.

  3. 3

    Paste your public key and save.

How to know it worked

Done

You log in with the key instead of a password.

Good to know

  • It is the public key that goes in, the file ending in .pub. You keep the private one.
  • SSH to your hosting uses port 2020, and to a VPS port 22. Connect to your hosting with SSH
EmilLinusMelinda

Need more help?

Email [email protected] or call 08-519 70 666.