Changes between Version 32 and Version 33 of Documentation/bAccountManagement/DSSHConf


Ignore:
Timestamp:
Feb 1, 2013, 10:54:47 AM (11 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/bAccountManagement/DSSHConf

    v32 v33  
    44Configuring your SSH client to use keys instead of password
    55
    6 == Putty ==
    7 Generate a public/private key pair on your by using PuTTYgen as illustrated below:
     6== Linux ==
    87
    9 Start PuTTYgen
     8Each distribution has their own location for the specific generation tools. The documentation for Ubuntu is located [https://help.ubuntu.com/community/SSH/OpenSSH/Keys here]. The generation process can be done with the ssh-keygen utility.
    109
    11 [[Image(PuTTYgen1.jpg)]]
     10To create your public and private SSH keys on the command-line:
     11{{{
     12ssh-keygen -t rsa
     13Generating public/private rsa key pair.
     14Enter file in which to save the key (...):
     15Enter passphrase (empty for no passphrase):
     16Enter same passphrase again:
     17Your identification has been saved in ...
     18Your public key has been saved in ...
     19Your public key is now available as .ssh/id_rsa.pub in your home folder.
     20}}}
    1221
    13 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.
     22This 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 Upload] your new public key to your orbit account.
    1423
    15 [[Image(PuTTYgen2.jpg)]]
     24== Windows ==
    1625
    17 Boxes "Key passphrase" and "Confirm passphrase" leave blank to be able to authenticate without passphrase.[[BR]]
    18 Now, you can save public and private key.[[BR]]
    19 You can recover the public key from the private key with PuTTYgen by clicking the Load button. But you can not recover the private key from the public key.[[BR]]
    20 [[Image(PuTTYgen3.jpg)]][[BR]]
    21 Now, you need to upload public key to your orbit account. Click [wiki:SSHConf#Installthepublickeyontheremotehost here] to see instructions.[[BR]]
    22 To connect to remote host using putty using public key authentication open session in the Connection > SSH > Auth window. Load the session profile before configuring the Auth window.
    23 Before connect click Save to update session profile.[[BR]]
    24 You won't be prompt for password.
     26=== Putty ===
     27In 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 [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html here]. Generating a public/private key pair on your host by using PuTTYgen as illustrated in the following table:
    2528
    26 [[Image(PuTTYgen5.jpg)]][[BR]]
     29|| 1. || Start PuTTYgen; The running executable windows is shown on the left.  || [[Image(PuTTYgen1.jpg, width=300)]] ||
     30|| 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.[[BR]] You can leave blank "Key passphrase" and "Confirm passphrase" to be able to authenticate without passphrase.[[BR]] Save public and private key (you can recover the public key from the private key with PuTTYgen by clicking the Load button). || [[Image(PuTTYgen2.jpg, width=300)]] ||
     31|| 3. || [#Upload Upload] your new public key to your orbit account. ||||
     32|| 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 proceed to connect. If you didn't specify the passphrase in step 2, you won't be prompted for the password.  || [[Image(PuTTYgen5.jpg, width=300)]] ||
    2733
    28 == SSH Secure Shell ==
    29 [[Image(SecSh1.jpg)]][[BR]]
    30 From the menu choose Edit> Settings option and then Key [[BR]]
    31 [[Image(SecSh2.jpg)]][[BR]]
    32 Click the Generate button.[[BR]]
    33 [[Image(SecSh3.jpg)]][[BR]]
    34 Click Next[[BR]]
    35 [[Image(SecSh4.jpg)]][[BR]]
    3634
    37 Select RSA type of the key. Click Next [[BR]]
    38 [[Image(SecSh5.jpg)]][[BR]]
    39 Wait until key is generated.[[BR]]
    40 [[Image(SecSh6.jpg)]][[BR]]
    41 Enter file name for private key and comment. Leave passphrase blank.[[BR]]
    42 Click Next.[[BR]]
    43 [[Image(SecSh7.jpg)]][[BR]]
    44 Click Next. To upload public key to your orbit account see [wiki:SSHConf#Installthepublickeyontheremotehost instructions].
     35=== SSH Secure Shell ===
    4536
    46 Now, save public key into file by clicking Export button[[BR]]
    47 After you upload public key you can connect to host choosing Public Key option for Authentication Method.[[BR]]
     37|| 1. || Start the ssh client || [[Image(SecSh1.jpg, width=300)]][[BR]] ||
     38|| 2. || From the menu choose Edit> Settings option and then Key || [[Image(SecSh2.jpg, width=300)]] ||
     39|| 3. || Click the Generate button. || [[Image(SecSh3.jpg,width=300)]] ||
     40|| 4. || Click Next || [[Image(SecSh4.jpg, width=300)]] ||
     41|| 5. || Select RSA type of the key. Click Next || [[Image(SecSh5.jpg, width=300)]] ||
     42|| 6. || Wait until key is generated. || [[Image(SecSh6.jpg, width=300)]] ||
     43|| 7. || 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 || [[Image(SecSh7.jpg, width=300)]] ||
     44|| 9. || [#Upload Upload your new public key to your orbit account.  instructions]. ||||
     45|| 10. || After you upload public key you can connect to host choosing Public Key option for Authentication Method. || [[Image(SecSh8.jpg, width=300)]] ||
    4846
    49 [[Image(SecSh8.jpg)]][[BR]]
    50 == Install the public key on the remote host ==
     47== Mac ==
    5148
    52 To upload you public key to your orbit account visit [https://www.orbit-lab.org/loginService/ControlPanel]. Choose "Change My Profile" option.[[BR]]
    53 Here you can upload you public key and to change you profile.[[BR]]
     49== Install the public key for the ORBIT infrastructure == #Upload
    5450
    55 [[Image(ControlPanel.jpg)]][[BR]]
     51To 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.
     52
     53[[Image(ControlPanel.jpg)]]