- Open terminal in your system and enter the following command
sh-keygen -t rsa -C "[email protected]"
- Press enter
- Enter your password when prompted for
- You are done with the SSH key generation
- Private and public keys will be stored at c:/Users/youruser
- File id_rsa.pub is your public key and id_rsa is your priviate key
Hope this helps !!