How to Generate SSH Key (Windows)

windows ssh

To generate the SSH key (using the RSA algorithm) on Windows, you need to run in the terminal:

ssh-keygen -t rsa -b 4096 -C "your-email-address"

where is your-email-address the email address of your Git repository provider.

Full instruction

  1. Open the terminal and run the following command:

    Ssh keygen

  2. Enter the extension. It will save the key there:

    Enter SSH file

  3. Enter the passphrase or press Enter button:

    Enter SSH Pass Phrase

  4. The key will be generated and saved to the earlier provided place:

    Enter SSH file

comments powered by Disqus