Generate SSH Key on Windows
Download PuTTY and PuTTYgen for Windows
PuTTYgen
PuTTY
Generate Private and Public key
-
Start PuTTYgen
-
Click on “Generate”
-
Generate some randomness by moving mouse over the blank area
-
Copy the public key (Right Click → Select All, Right Click → Copy)
-
Open cPanel
-
Click on SSH Remote Access
-
Then go to Manage SSH Keys
-
Click on Import Key
-
Type name for public key (For example: MyWorkstation)
-
Scroll down and paste the public key into “Paste the public key into the following text box:”
-
Click Import
-
Back to Manage Keys
-
Click on Manage on your public key and then Authorize
-
Save the private key from PuttyGen by clicking on “Save Private Key”
Connect to SSH via Putty with private key
-
Start PuTTY
-
Fill the hostname or IP with: servername.mochahost.com
-
Fill port value with: 4747
-
Expand SSH from the left menu
-
Go to Auth
-
Go to Private key file for authentication → Browse → Select your private key, which was generated with PuttyGen
-
Click Open
-
Type your username (For example: badboy)
That's It!
Updated 4 months ago