User login

Git on Windows

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://git.or.cz/

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

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.