1. Open terminal in your system and enter the following command

sh-keygen -t rsa -C "[email protected]"

  1. Press enter
  2. Enter your password when prompted for
  3. You are done with the SSH key generation
  4. Private and public keys will be stored at c:/Users/youruser
  5. File id_rsa.pub is your public key and id_rsa is your priviate key

Hope this helps !!