wiki:Documentation/bAccountManagement/DSSHConf

Version 40 (modified by seskar, 10 years ago) ( diff )

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.

Linux

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/id_rsa.pub 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 id_rsa.pub, and the private key will be stored in the file you specify when prompted. Upload your new public key to your orbit account.

Windows

Putty

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. No image "PuTTYgen1.jpg" attached to Documentation/bAccountManagement/DSSHConf
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).
No image "PuTTYgen2.jpg" attached to Documentation/bAccountManagement/DSSHConf
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 Pytyy: 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. No image "PuTTYgen5.jpg" attached to Documentation/bAccountManagement/DSSHConf

SSH Secure Shell

1. Start the ssh client No image "SecSh1.jpg" attached to Documentation/bAccountManagement/DSSHConf
2. From the menu choose Edit> Settings option and then Key No image "SecSh2.jpg" attached to Documentation/bAccountManagement/DSSHConf
3. Click the Generate button, click Next, select RSA type of the key and click Next and wait until key is generated No image "SecSh3.jpg" attached to Documentation/bAccountManagement/DSSHConf
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 No image "SecSh6.jpg" attached to Documentation/bAccountManagement/DSSHConf
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. No image "SecSh8.jpg" attached to Documentation/bAccountManagement/DSSHConf

Mac

Upload the public key to ORBIT

To upload you public key to your orbit account visit https://www.orbit-lab.org/loginService/ControlPanel. 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 default ORBIT public key for your account in the list - that is the key that was created with the account and is used for ssh-access between machines in ORBIT testbed.

Attachments (15)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.