From MobaXterm, click on Tools and select MobaKeyGen (SSH key generator).ģ. The Home Edition should be sufficient, if you do not require any features from the Professional Edition.Ģ. Setting Up A Public Key Authentication Using Windows with MobaXtermġ. You should now be connected to your account on the remote server 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.ġ4. Press the Save button to the right of the list of saved sessions.ġ3. Return to Session by using the sidebar, and in the box under Saved Sessions type in a name (ex: Foundry). Under Private key file for authentication: click Browse then select your private key file which you saved previously.ġ2. In the sidebar, click on the SSH drop down arrow. Replace “joeminer” with your SSO ID, but do not type “UM-AD\”.ġ1. In the Putty Session window, type in in the box under Host Name (or IP address). You will receive email confirmation when you are authorized.ġ0. Using your University email, send your public key file ONLY, (do not send us your private key) to and allow some time for an administrator to copy your public key for remote access. It is advisable to set a passphrase to protect this file since all your encryption will be done with this file.ĩ. Make sure this is a location you can easily find again, your user's home folder is a good place. 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.ħ. Give your file a name (such as putty_key) and select a location to store it on your computer before hitting Save. The program will display your generated public key under Key whenever it has completed generation.Ħ. 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). Note: Newer versions of PuTTYgen do not have the SSH2-RSA option, instead select the RSA option.Ĥ. Set the number of bits generated in key to either 2048 or 4096 (4096 is preferred). Open the PuTTYgen key generation utility ( NOTE: This is a separate program from PuTTY).ģ. Install needed PuTTY packages using the linked executable.Ģ. from the computer (such as host1) that has your private key ( ~/.ssh/id_rsa) by using the following ~]$ ssh 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 ~]$ ssh -i /path/to/your/private/key/file Setting Up A Public Key Authentication Using Windows with Puttyġ. You now should be able to SSH to your account on the remote system (i.e. You will receive email confirmation when you are authorized.Ĥ. pub extension (such as ~/.ssh/id_rsa.pub).ģ. Your public key will also be generated and have the same filename and storage location, but will have a. ssh directory (with a name such as id_rsa). Your private key should now be generated and stored off the. For the purposes of this system you can simply hit enter on both of these prompts in order to use the default file location and no passphrase. A prompt will appear expecting you to provide a filename (where your key is saved) and passphrase (to protect your key). Generate a key by typing the following command into the command line:Ģ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |