43 | | 1. Click on "Change My Profile" option in the left side menu |
44 | | 1. Click the "Choose File" button next to "Public key file" |
45 | | 1. Navigate to where your public key file is stored (typically /home/your_username/.ssh) |
46 | | 1. Select the .pub file corresponding to the key you wish to use for ORBIT access |
47 | | 1. Click "Open" |
48 | | 1. Click the "Update Profile" button |
49 | | |
50 | | As a side note, expect to see a default auto generated ORBIT public key in the list (ends with @internal1). This is used for SSH access between machines inside the ORBIT network. Please do NOT delete this key. |
| 48 | |
| 49 | 2. Click on "Change My Profile" option in the left side menu |
| 50 | |
| 51 | 3. Click the "Choose File" button next to "Public key file" |
| 52 | |
| 53 | 4. Navigate to where your '''public key file''' is stored (typically /home/your_username/.ssh) |
| 54 | |
| 55 | 5. Select the .pub file corresponding to the key you wish to use for ORBIT access |
| 56 | |
| 57 | 6. Click "Open" |
| 58 | |
| 59 | 7. Click the "Update Profile" button |
| 60 | |
| 61 | As a side note, expect to see a default auto generated public key in the list (ends with @internal1). This is used for SSH access between machines inside the ORBIT network. Please do NOT delete this key. |
85 | | ==== PuTTY ==== |
86 | | |
87 | | 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 (for more details on configuration please csee [http://www.chiark.greenend.org.uk/~sgtatham/putty/ putty documentation]): |
88 | | |
89 | | || 1. || Start PuTTYgen; The running executable windows is shown on the left. || [[Image(PuTTYgen1.jpg, width=300)]] || |
90 | | || 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)]] || |
91 | | || 3. || [#Upload Upload] your new public key to your orbit account. |||| |
92 | | || 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. || [[Image(PuTTYgen5.jpg, width=300)]] || |
93 | | |
94 | | ==== SSH Secure Shell ==== |
95 | | |
96 | | || 1. || Start the ssh client || [[Image(SecSh1.jpg, width=300)]][[BR]] || |
97 | | || 2. || From the menu choose Edit> Settings option and then Key || [[Image(SecSh2.jpg, width=300)]] || |
98 | | || 3. || Click the Generate button, click Next, select RSA type of the key and click Next and wait until key is generated || [[Image(SecSh3.jpg,width=300)]] || |
99 | | || 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 || [[Image(SecSh6.jpg, width=300)]] || |
100 | | || 5. || [#Upload Upload] your new public key to your orbit account. |||| |
101 | | || 6. || After you upload public key you can connect to host choosing Public Key option for Authentication Method. ||[[Image(SecSh8.jpg, width=300)]] || |
| 98 | |
| 99 | These instructions assume that you are using [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html PuTTY] as your SSH client. |
| 100 | |
| 101 | ==== Generating keys ==== |
| 102 | In PuTTY, the key generation is handled by a separate program named ''puttygen.exe''. If you installed PuTTY via the installer, there should be an icon for PuTTYgen in your Start menu, otherwise [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html download it from here]. |
| 103 | |
| 104 | 1. Open PuTTYgen |
| 105 | |
| 106 | 2. Click the "Generate" button and follow the instructions in the "Key" section of the window |
| 107 | |
| 108 | 3. Type a passphrase of your choice in the "Key passphrase" and "Confirm passphrase" fields. This passphrase does not have to be the same as your ORBIT account password. |
| 109 | |
| 110 | 4. Click the "Save private key" button |
| 111 | |
| 112 | 5. Save the private key file somewhere you will remember on your computer. Do not share this key with anyone! |
| 113 | |
| 114 | 6. After saving the private key file, right-click in the big text box labeled "Public key for pasting into OpenSSH authorized_keys file" |
| 115 | |
| 116 | 7. Click "Select All" from the popup menu to highlight the entire public key |
| 117 | |
| 118 | 8. Right-click again in the same big box and select "Copy" from the popup menu |
| 119 | |
| 120 | 9. Open Notepad from your Start menu |
| 121 | |
| 122 | 10. Paste what you just copied from PuTTYgen into Notepad. The contents should start with {{{ssh-rsa}}} and end with something like {{{rsa-key-20180621}}} |
| 123 | |
| 124 | 11. Save this file somewhere you will remember on your computer. This is your public key file. |
| 125 | |
| 126 | 12. Close PuTTYgen |
109 | | 1. Click on "Change My Profile" option in the left side menu |
110 | | 1. Click the "Choose File" button next to "Public key file" |
111 | | 1. Navigate to where your public key file is stored (typically /home/your_username/.ssh) |
112 | | 1. Select the .pub file corresponding to the key you wish to use for ORBIT access |
113 | | 1. Click "Open" |
114 | | 1. Click the "Update Profile" button |
115 | | |
116 | | As a side note, expect to see a default auto generated ORBIT public key in the list (ends with @internal1). This is used for SSH access between machines inside the ORBIT network. Please do NOT delete this key. |
| 134 | |
| 135 | 2. Click on "Change My Profile" option in the left side menu |
| 136 | |
| 137 | 3. Click the "Choose File" button next to "Public key file" |
| 138 | |
| 139 | 4. Navigate to where your '''public key file''' is stored (the file you saved with Notepad in the previous section) |
| 140 | |
| 141 | 5. Select the public key file you wish to use for ORBIT access |
| 142 | |
| 143 | 6. Click "Open" |
| 144 | |
| 145 | 7. Click the "Update Profile" button |
| 146 | |
| 147 | As a side note, expect to see a default auto generated public key in the list (ends with @internal1). This is used for SSH access between machines inside the ORBIT network. Please do NOT delete this key. |
123 | | TODO |
| 168 | Mac instrucstions are currently under development. We apologize for the inconvenience. |
| 169 | |
| 170 | ==== Generating keys ==== |
| 171 | TODO |
| 172 | |
| 173 | [[BR]] |
| 174 | ==== Uploading your public key to you ORBIT account ==== |
| 175 | To upload you public key to your orbit account, do the following: |
| 176 | 1. Go to [https://www.orbit-lab.org/loginService/ControlPanel] |
| 177 | |
| 178 | 2. Click on "Change My Profile" option in the left side menu |
| 179 | |
| 180 | 3. Click the "Choose File" button next to "Public key file" |
| 181 | |
| 182 | 4. Navigate to where your '''public key file''' is stored (typically /home/your_username/.ssh) |
| 183 | |
| 184 | 5. Select the .pub file corresponding to the key you wish to use for ORBIT access |
| 185 | |
| 186 | 6. Click "Open" |
| 187 | |
| 188 | 7. Click the "Update Profile" button |
| 189 | |
| 190 | As a side note, expect to see a default auto generated public key in the list (ends with @internal1). This is used for SSH access between machines inside the ORBIT network. Please do NOT delete this key. |
| 191 | |
| 192 | [[Image(ControlPanel.jpg, width=700)]] |
| 193 | |
| 194 | [[BR]] |
| 195 | ==== Configuring your SSH client ==== |
| 196 | TODO |
| 197 | |
| 198 | [[BR]] |
| 199 | ==== Common issues and how to solve them ==== |
| 200 | * TODO |