Add an SSH Key to an Account

Is your IT admin requiring you to use an SSH key with your JumpCloud account to authenticate you to remote system resources? You can manage SSH keys for your account in your JumpCloud User Portal.

Generating an SSH Key

Before you can add an SSH key in JumpCloud, you need to generate a private-public SSH key pair on the computer you're going to use to log in to remote systems.

To generate an SSH Key Pair:

  1. On Mac and Linux computers, open the Terminal.
  2. Enter the following command: ssh-keygen -y -f /path_to_key_pair/key-pair-name.pem
  3. Specify a file in which to save the key pair, or press return / ENTER to accept the default location.
  4. Type in a passphrase or press return / ENTER to accept the default, no passphrase. We recommend that you use a passphrase.
  5. If you entered a passphrase, confirm it when prompted.

After you confirm the passphrase, the system generates the key pair. The generated key pair is available in a file in the location you specified. If you accepted the default location, the key pair is available in the id_rsa file in the .ssh directory. The private key is saved to the computer and is used to verify the public key. The public key is saved to the id_rsa.pub file and needs to be added to JumpCloud.

Adding the Public Key to JumpCloud

After you generate the SSH Key pair, you need to add the public key to your JumpCloud user account.

To add an SSH Public Key to JumpCloud:

  1. Copy the contents of the SSH public key file, id_rsa.pub.
  2. Log in to your JumpCloud User Portal: https://console.jumpcloud.com.
  3. Go to Security: from the left-hand navigation menu, click SECURITY.
  4. In the SSH Keys modal, click ( + ).
  5. Click the KEY NAME field, then give the key a name.
  6. Paste the contents of the id_rsa.pub file in the text box, then click SAVE.
Back to Top

Still Have Questions?

If you cannot find an answer to your question in our FAQ, you can always contact us.

Submit a Case