Created
November 14, 2012 19:49
-
-
Save noahcoad/4074319 to your computer and use it in GitHub Desktop.
Create ssh ID key on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "[email protected]" | |
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