Configuring SSH Keys

ORBIT access machines are configured to allow login only by public key authentication, which let users log into consoles without the need to use their user's passwords. This requires users to configure their SSH client to use their private key instead of password and to register their public key(s) with the ORBIT infrastructure. This page describes the procedure for generating the key pair and configuring client side for selected platforms.

Generating SSH Keys


Each distribution has their own location for the specific generation tools. The documentation for Ubuntu is located here. The generation process can be done with the ssh-keygen utility.

To create your public and private SSH keys on the command-line:

ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (...):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in ...
Your public key has been saved in ...
Your public key is now available as .ssh/ in your home folder.

This process will generate and store a private key and a public key file. The public key file will be named, and the private key will be stored in the file you specify when prompted. Upload your new public key to your orbit account.



In putty the key generation is handled by a separate program named puttygen.exe. If you've installed putty via the installer there may be an icon for it in the putty menu group, otherwise download it here. Generating a public/private key pair on your host by using PuTTYgen as illustrated in the following table (for more details on configuration please csee putty documentation):

1. Start PuTTYgen; The running executable windows is shown on the left.
2. Click the Generate button. You will be asked to move mouse to generate some randomness. After that the program will generate key and display the result.
You can leave blank "Key passphrase" and "Confirm passphrase" to be able to authenticate without passphrase.
Save public and private key (you can recover the public key from the private key with PuTTYgen by clicking the Load button).
3. Upload your new public key to your orbit account.
4. To connect to remote host by using newly minted keys configure your session in PuTTY: Load the session profile, go to Connection > SSH > Auth window and select the newly created private key; click Save to update session profile and then proceed to connect. If you didn't specify the passphrase in step 2, you won't be prompted for the password.

SSH Secure Shell

1. Start the ssh client
2. From the menu choose Edit> Settings option and then Key
3. Click the Generate button, click Next, select RSA type of the key and click Next and wait until key is generated
4. Enter file name for private key and comment. Leave passphrase blank. Click Next, Next and then save public key into file by clicking Export button and then click Finish
5. Upload your new public key to your orbit account.
6. After you upload public key you can connect to host choosing Public Key option for Authentication Method.



Uploading the public key to ORBIT

To upload you public key to your orbit account visit Choose "Change My Profile" option which will bring up the form to upload your public key. Please be aware that IE browser is not supported for Control Panel operations (and key upload). Also, expect to see your default auto generated ORBIT public key for your account in the list. It is used for ssh-access between machines within the ORBIT testbed. Please do NOT delete this key.

Last modified 9 months ago Last modified on 10/04/17 12:22:53

Attachments (14)

Download all attachments as: .zip