Generate new ssh keys in Windows 10 / 11 [closed]

  1. Open the windows command line (type “cmd” on the search box and hit enter).
  2. It’ll default to your home folder, so you don’t need to cd to a different one.
  3. Type ssh-keygen(if not found, check here)
  4. Leave the first parameter empty(default), enter a password if you like, or leave it empty
  5. Your ssh keys should be stored at chosed directory, the default is: /c/Users/YourUserName/.ssh/id_rsa.pub

p.s.: If you installed git with bash integration (like me) open “Git Bash” instead of “cmd” on first step

Leave a Comment