Skip to content

Instantly share code, notes, and snippets.

@noahcoad
Created November 14, 2012 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noahcoad/4074319 to your computer and use it in GitHub Desktop.
Save noahcoad/4074319 to your computer and use it in GitHub Desktop.
Create ssh ID key on Windows
1. install git, http://git-scm.com/downloads
2. reboot (or log out and back in) so PATH environment variable takes effect
3. on cmd.exe prompt, run these commands, do not enter a pass phrase when ssh-keygen prompts, leave it blank, the whole point is to use this file instead of a password or passphrase with every git operation
cd "%UserProfile%"
md .ssh
cd .ssh
ssh-keygen -t rsa -C "your_email@youremail.com"
4. then you can share you your id_rsa.pub public key file (never share private id_rsa file) with your repository, like GitHub or company
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment