DEV Community

Dalitso Kasonde
Dalitso Kasonde

Posted on

Generate SSH Key on windows

  1. To generate SSH key on your windows PC, Open command prompt (cmd) and type the following command
    ssh-keygen

  2. To save the key to the default location, press enter. Otherwise enter your desired location

  3. Enter a para-phase you can remember or press enter to leave it blank

  4. Re-enter your preferred para-phrase

  5. The system generates your key pair and also displays a randomart image

6.Navigate to the location you had initially accepted, e.g C:\Users\user_name.ssh

7.Two files are available in the folder id_rsa is a private kay.
The public key is id_rsa.pub.This is the SSH key pair.

Top comments (0)