welcome: please sign in
location: Diff for "Cluster/Usage/SSHKeyManagement/Putty"
Differences between revisions 8 and 9
Revision 8 as of 2014-02-13 11:51:23
Size: 2262
Editor: aloga
Comment:
Revision 9 as of 2014-02-13 11:54:32
Size: 2296
Editor: aloga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * Launch puttygen.exe  1. Launch `puttygen.exe`
Line 12: Line 12:
 * Click on the Generate button to create your key pair
 * After finish you can choose to use the keys with or without passphrase
   * Save the Private key (you can call it privatekey)
     * Remember that you have to keep it in a safe place. This key is private and you should be the only person who has access to it.
   * Save the Public key (you can call it publickey)
 1. Click on the `Generate` button to create your key pair
 1. After finish you can choose to use the keys with or without passphrase. It is recommended to set a secure passphrase.
   1. Save the Private key (you can call it `privatekey`)
     * Remember that you have to keep it in a safe place. This key is private and you should be the only person who has access to it. Treat it like a password.
   1. Save the Public key (you can call it `publickey`)
Line 21: Line 21:
 * Start PuTTY
 * In the Category section on the left, scroll down and under Connection > SSH, select the Auth option. Where it says Private key file for authentication: click on the Browse button and find the private key you generated previously and click the Open button to load it. The text field should now be filled in with the path to your private key.
 * In the Category section, select the Session option towards the top of that list of options. Fill in the Host Name field with your account hostname (your account domain or IP address will also work).
 * To save this profile for later so you don’t need to do this each time you connect, type a name for this session in the Saved Sessions text field on the lower half of that screen. Then, click on the Save button to the right and the session will now be saved for later (it will show up where Default Settings is showing). Next time you connect to the server, you would simply select the session you created and then click on the Load button, and then select the Open button at the bottom to load that saved session.
 1. Start PuTTY
 1. In the `Category` section on the left, scroll down and under `Connection > SSH`, select the `Auth` option. Where it says `Private key file for authentication:` click on the `Browse` button and find the private key you generated previously and click the `Open` button to load it. The text field should now be filled in with the path to your private key.
 1. In the `Category` section, select the `Session` option towards the top of that list of options. Fill in the `Host Name` field with your account hostname (your account domain or IP address will also work).
 1. To save this profile for later so you don’t need to do this each time you connect, type a name for this session in the `Saved Sessions` text field on the lower half of that screen. Then, click on the `Save` button to the right and the session will now be saved for later (it will show up where `Default Settings` is showing). Next time you connect to the server, you would simply select the session you created and then click on the `Load` button, and then select the `Open` button at the bottom to load that saved session.

Generate a SSH key Pair (Public and Private) and Use it with PuTTY

1. Download PuTTY

2. Generate the key pairs

  1. Launch puttygen.exe

    • Type of key to generate: SSH-2 RSA
    • Number of bits in a generated key: 1024
  2. Click on the Generate button to create your key pair

  3. After finish you can choose to use the keys with or without passphrase. It is recommended to set a secure passphrase.
    1. Save the Private key (you can call it privatekey)

      • Remember that you have to keep it in a safe place. This key is private and you should be the only person who has access to it. Treat it like a password.
    2. Save the Public key (you can call it publickey)

      • This is the only key that you can share and this is the key that you have to install in the machine you want to access.

3. Install the Key to be used with PuTTY

  1. Start PuTTY
  2. In the Category section on the left, scroll down and under Connection > SSH, select the Auth option. Where it says Private key file for authentication: click on the Browse button and find the private key you generated previously and click the Open button to load it. The text field should now be filled in with the path to your private key.

  3. In the Category section, select the Session option towards the top of that list of options. Fill in the Host Name field with your account hostname (your account domain or IP address will also work).

  4. To save this profile for later so you don’t need to do this each time you connect, type a name for this session in the Saved Sessions text field on the lower half of that screen. Then, click on the Save button to the right and the session will now be saved for later (it will show up where Default Settings is showing). Next time you connect to the server, you would simply select the session you created and then click on the Load button, and then select the Open button at the bottom to load that saved session.

eciencia: Cluster/Usage/SSHKeyManagement/Putty (last edited 2014-03-04 15:55:29 by aloga)