To generate SSH key on your windows PC, Open command prompt (cmd) and type the following command
ssh-keygen
To save the key to the default location, press enter. Otherwise enter your desired location
Enter a para-phase you can remember or press enter to leave it blank
Re-enter your preferred para-phrase
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)