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 === |
| 27 | 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 [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: |
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)]] || |
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)]] || |