Generate SSH Key on Windows

Download PuTTY and PuTTYgen for Windows



Generate Private and Public key

  1. Start PuTTYgen

  2. Click on “Generate”

  3. Generate some randomness by moving mouse over the blank area

  4. Copy the public key (Right Click → Select All, Right Click → Copy)

  5. Open cPanel

  6. Click on SSH Remote Access

  7. Then go to Manage SSH Keys

  8. Click on Import Key

  9. Type name for public key (For example: MyWorkstation)

  10. Scroll down and paste the public key into “Paste the public key into the following text box:”

  11. Click Import

  12. Back to Manage Keys

  13. Click on Manage on your public key and then Authorize

  14. Save the private key from PuttyGen by clicking on “Save Private Key”

Connect to SSH via Putty with private key

  1. Start PuTTY

  2. Fill the hostname or IP with:

  3. Fill port value with: 4747

  4. Expand SSH from the left menu

  5. Go to Auth

  6. Go to Private key file for authentication → Browse → Select your private key, which was generated with PuttyGen

  7. Click Open

  8. Type your username (For example: badboy)

That's It!