These are the steps I’ve used for connecting to GitHub with SSH on Windows using the PuTTY tools.
Always remember any git project has a web interface , user need an account to clone, and it takes a list of "keys" (SSH Public ) to be added to this web interface.
Step 1 - Download Putty Tools
Download these three PuTTY tools:Move them to some place permanent, for example
c:\bin
.Step 2 - Add GIT_SSH Environment Variable
Set name toGIT_SSH
and value to the location of plink.exe
.Step 3 - Create a Key
Useputtygen.exe
to generate and public/private key.Save the private key somewhere with a passphrase and then copy the public key text to the clipboard.
Step 4 - Add Key to GitHub
Login to GitHub and underAccount settings
> SSH Keys
add a new key and paste your key.
No comments:
Post a Comment