Skip to content
Host4u Limited

Generating an SSH key

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

To connect by SSH Gate you need an SSH key pair: a private key that stays on your computer and a public key that you add to your account.

Mac, Linux and Windows 10 or 11

  1. Open a terminal (on Windows, PowerShell).
  2. Run:

    bash ssh-keygen -t ed25519 -C "your-email@example.com"

  3. Press Enter to accept the default file, and choose a passphrase if you want one.

  4. Show the public key and copy it:

    bash cat ~/.ssh/id_ed25519.pub

    On Windows PowerShell use type $env:USERPROFILE\.ssh\id_ed25519.pub.

Never share the file without the .pub ending: that is your private key.

Older Windows (PuTTYgen)

Run PuTTYgen, click Generate and move the mouse. Copy the public key from the box at the top of the window, and save the private key.

Next

Add the public key to your account: see Connecting to your environment by SSH.


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal