This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pub:publickeysetup [2018/03/08 14:25] blspcy [Setting Up A Public Key Authentication Using Windows with Putty] |
pub:publickeysetup [2022/05/06 20:15] (current) |
||
---|---|---|---|
Line 18: | Line 18: | ||
3. Using your University email, send your **public** key file ONLY, (do not send us your private key) to < | 3. Using your University email, send your **public** key file ONLY, (do not send us your private key) to < | ||
- | 4. You now should be able to SSH to your account on the remote system (i.e. //username@forge-remote.mst.edu//) from the computer (such as //host1//) that has your private key (// | + | 4. You now should be able to SSH to your account on the remote system (i.e. //username@foundry.mst.edu//) from the computer (such as //host1//) that has your private key (// |
- | // | + | // |
If you didn't save this file to a default location then you will have to tell ssh what key file you would like to use with the -i switch. | If you didn't save this file to a default location then you will have to tell ssh what key file you would like to use with the -i switch. | ||
- | // | + | // |
====Setting Up A Public Key Authentication Using Windows with Putty==== | ====Setting Up A Public Key Authentication Using Windows with Putty==== | ||
Line 31: | Line 31: | ||
2. Open the PuTTYgen key generation utility (**NOTE: This is a separate program from PuTTY**). | 2. Open the PuTTYgen key generation utility (**NOTE: This is a separate program from PuTTY**). | ||
- | **Also Note: Newer versions of PuTTYgen do not have the ssh2-RSA option, instead select the RSA option.** | + | |
---- | ---- | ||
- | {{:pub:wstep2.jpg?400 |}} | + | {{:pub:nokey.jpg?400 |}} |
---- | ---- | ||
3. Under // | 3. Under // | ||
+ | **Note: Newer versions of PuTTYgen do not have the SSH2-RSA option, instead select the RSA option.** | ||
---- | ---- | ||
- | {{:pub:wstep3fixed.jpg?400 |}} | + | {{:pub:rsa-4096.jpg?400 |}} |
---- | ---- | ||
Line 46: | Line 46: | ||
---- | ---- | ||
- | {{:pub:wstep4fixed.jpg?400 |}} | + | {{:pub:generatekey.jpg?400 |}} |
---- | ---- | ||
Line 69: | Line 69: | ||
---- | ---- | ||
- | 10. In the Putty //Session// window, type in //forge-remote.mst.edu// in the box under //Host Name (or IP address)//. | + | 10. In the Putty //Session// window, type in //joeminer@foundry.mst.edu// in the box under //Host Name (or IP address)//. Replace " |
---- | ---- | ||
Line 81: | Line 81: | ||
---- | ---- | ||
- | 12. Return to //Session// by using the sidebar, and in the box under //Saved Sessions// type in a name (ex: Forge). Press the //Save// button to the right of the list of saved sessions. | + | 12. Return to //Session// by using the sidebar, and in the box under //Saved Sessions// type in a name (ex: Foundry). Press the //Save// button to the right of the list of saved sessions. |
---- | ---- | ||
Line 87: | Line 87: | ||
---- | ---- | ||
- | 13. Now each time you would like to access the cluster, select your saved session (Forge in the example above) then select the //Load// button to the right of the list of saved sessions. | + | 13. Now each time you would like to access the cluster, select your saved session (Foundry |
---- | ---- | ||
Line 94: | Line 94: | ||
14. Press the //Open// button. You should now be connected to your account on the remote server | 14. Press the //Open// button. You should now be connected to your account on the remote server | ||
+ | |||
+ | ====Setting Up A Public Key Authentication Using Windows with MobaXterm==== | ||
+ | |||
+ | 1. Install [[https:// | ||
+ | |||
+ | 2. Open the MobaXterm SSH Key Generator. From MobaXterm, click on Tools and select // | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | 3. Under // | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | 4. Under // | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | The program will display your generated public key under //Key// whenever it has completed generation. | ||
+ | |||
+ | 5. Under // | ||
+ | |||
+ | 6. Give your file a name (such as // | ||
+ | |||
+ | 7. Under // | ||
+ | |||
+ | 8. Make //Save as type// set to PuTTY Private Key Files (// | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | 9. Using your University email, send your **public** key file ONLY, (do not send us your private key) to < | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | 10. Create a new session. From MobaXterm, click on Sessions and select //New session//. Click on //SSH// for the session type, then enter // | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | 11. Click on //Advanced SSH settings//, then check the box next to //Use private key//. Click on the icon in the box, then navigate to select your private key file that you saved previously. | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | 12. Click on //Bookmark settings// and type in a name (e.g. Foundry) in the box next to //Session name//. Click //OK// to save the session. It will automatically connect. | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ | 13. Now each time you would like to access the cluster, double-click your saved session (Foundry in the example above). You should now be connected to your account on the remote server. | ||
+ | |||
+ | ---- | ||
+ | {{: | ||
+ | ---- | ||
+ | |||
+ |