Setting up SSH on Windows for GitHub
- Create a ".ssh" folder in your home directory.
- Use Puttygen.exe to create ssh-rsa keys.
- Save the public key as %HOME%/.ssh/id_rsa.pub
- Save the private key as %HOME%/.ssh/id_rsa
- Edit the id_rsa.pub file by removing the comment and replacing with "ssh-rsa". Make sure it is one single line. It should look like:
- ssh-rsa AAABSLDFEISELslghkjsesoi ...... yourname@email.com
- Login to GitHub and add the contents of id_rsa.pub as one of the security keys.
See
this site on instructions on how to use Puttygen.exe to create keys.
No comments:
Post a Comment