User Tools

Site Tools


pub:publickeysetup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pub:publickeysetup [2021/01/27 22:53]
lantzer
pub:publickeysetup [2022/05/06 20:15] (current)
Line 69: Line 69:
 ---- ----
  
-10. In the Putty //Session// window, type in //foundry.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 "joeminer" with your SSO ID, but do not type "UM-AD\".
  
 ---- ----
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://mobaxterm.mobatek.net/download.html|MobaXterm]]. The Home Edition should be sufficient, if you do not require any features from the Professional Edition.
 +
 +2. Open the MobaXterm SSH Key Generator. From MobaXterm, click on Tools and select //MobaKeyGen (SSH key generator)//.
 +
 +----
 +{{:pub:mobaxterm-nokey.jpg?400|}}
 +----
 +
 +3. Under //Parameters//, select RSA. Set the number of bits generated in key to either 2048 or 4096 (4096 is preferred).
 +
 +----
 +{{:pub:mobaxterm-rsa-4096.jpg?400|}}
 +----
 +
 +4. Under //Actions//, click Generate. When prompted use your pointing device (mouse, trackpad, trackball, etc.) to move your cursor around the blank area under //Key// (this generates randomness the utility uses to create your key pair).
 +
 +----
 +{{:pub:mobaxterm-generatekey.jpg?400|}}
 +----
 +
 +The program will display your generated public key under //Key// whenever it has completed generation.
 +
 +5. Under //Actions//, click //Save public key//.
 +
 +6. Give your file a name (such as //putty_key//) and select a location to store it on your computer before hitting //Save//. Make sure this is a location you can easily find again, your user's home folder is a good place.
 +
 +7. Under //Actions//, click //Save private key//.
 +
 +8. Make //Save as type// set to PuTTY Private Key Files (//*.ppk//), give the file a name (such as //putty_private_key//), and select a location to store it on your computer before hitting //Save//. Make sure this is a location you can easily find again, your user's home folder is a good place. It is advisable to set a passphrase to protect this file since all your encryption will be done with this file.
 +
 +----
 +{{:pub:mobaxterm-step5through8.jpg?400|}}
 +----
 +
 +9. Using your University email, send your **public** key file ONLY, (do not send us your private key) to <it-research-support@mst.edu> and allow some time for an administrator to copy your public key for remote access. You will receive email confirmation when you are authorized.
 +
 +----
 +{{:pub:mobaxterm-step5through8.jpg?400|}}
 +----
 +
 +10. Create a new session. From MobaXterm, click on Sessions and select //New session//. Click on //SSH// for the session type, then enter //foundry.mst.edu// in the box next to //Remote host//. Check the box marked //Specify username// and enter your SSO ID. Do not include "UM-AD\".
 +
 +----
 +{{:pub:mobaxterm-step10.jpg?400|}}
 +----
 +
 +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.
 +
 +----
 +{{:pub:mobaxterm-step11a.jpg?400|}}
 +{{:pub:mobaxterm-step11b.jpg?400|}}
 +----
 +
 +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.
 +
 +----
 +{{:pub:mobaxterm-step12.jpg?400|}}
 +----
 +
 +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.
 +
 +----
 +{{:pub:mobaxterm-step13.jpg?400|}}
 +----
 +
 +
pub/publickeysetup.1611788039.txt.gz · Last modified: 2022/05/06 20:15 (external edit)