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 [2018/03/08 17:24]
rlhaffer
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 <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. 3. 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.
  
-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 (//~/.ssh/id_rsa//) by using the following command:+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 (//~/.ssh/id_rsa//) by using the following command:
  
-//[username@host1 ~]$ ssh username@forge-remote.mst.edu//+//[username@host1 ~]$ ssh username@foundry.mst.edu//
  
 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.
  
-//[username@host1 ~]$ ssh username@forge-remote.mst.edu -i /path/to/your/private/key/file//+//[username@host1 ~]$ ssh username@foundry.mst.edu -i /path/to/your/private/key/file//
  
 ====Setting Up A Public Key Authentication Using Windows with Putty==== ====Setting Up A Public Key Authentication Using Windows with Putty====
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 "joeminer" with your SSO ID, but do not type "UM-AD\".
  
 ---- ----
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 in the example above) then select the //Load// button to the right of the list of saved sessions. 
  
 ---- ----
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.1520529856.txt.gz · Last modified: 2022/05/06 20:15 (external edit)