Home ›
Git on WindowsGit on Windows
Submitted by Benjamin Melançon on November 25, 2008 - 1:03pm
Easiest maybe best way is to create a new public-private key pair in Git, as mentioned in Getting Started with Git and GitHub on Windows:
ssh-keygen -C "username@email.com" -t rsa
Another fix for public key denied errors, mentioned on the GitHub discussion group, was
tuning my .ssh/config file to include these lines:
Host github.com
Hostname github.com
Port 22
IdentitiesOnly yes
IdentityFile ~/.ssh/my-keypair
TCPKeepAlive yes
User git
Deploying git on your own server probably has the same needs.
Other reference:
http://www.kernel.org/pub/software/scm/git/docs/user-manual.html
http://dysinger.net/2008/04/30/deploying-with-capistrano-git-and-ssh-agent/
Resolution
Searched words:
windows git
add public key to git msysgit
Linux meets microsoft
GNU version control on MS command line
Comments
Post new comment