Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.8 KB

generate-ssh-key-windows.md

File metadata and controls

53 lines (35 loc) · 1.8 KB
  1. Install Putty
  2. In the Windows start menu, search for and run puttygen.exe

image

a. Select EdDSA 
b. Click Generate 
c. Set your email in the Key Comment field 
d. Copy public key 
  1. Run the following commands

CMD:

mkdir -p %userprofile%\.ssh
notepad %userprofile%\.ssh\id_ed25519.pub

Powershell:

mkdir -p $home\.ssh
notepad $home\.ssh\id_ed25519.pub
  1. Paste your public key into notepad, save the file and exit
  2. Optional: set a passphrase in the Key passphrase field
  3. Choose Export OpenSSH key from the Conversions menu

image

  1. Click Yes to save the file without a passphrase

image

  1. paste the following into the File name: field of the save file dialog box and click Save

%userprofile%\.ssh\id_ed25519

image

  1. Click the Save private key button

image

  1. Click Yes to save the file without a passphrase

image

  1. paste the following into the File name: field of the save file dialog box and click Save

%userprofile%\.ssh\id_ed25519.ppk

image

  1. exit puttygen