Wang Xiang's Blog

Monday, July 1, 2013

Portable Git reuses existing ssh key

1) put existing key to c:\Users\<win account>\.ssh
2) run git-bash.bat from portable git folder
3) run command 'exec ssh-agent bash'
4) run command 'ssh-add'

then ssh-add will load the key file from c:\Users\<win account>\.ssh\id_rsa

Posted by Xiang Wang at 4:49 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Xiang Wang
Singapore, Singapore
View my complete profile

Search This Blog

Blog Archive

  • ►  2016 (1)
    • ►  January (1)
  • ►  2015 (4)
    • ►  October (1)
    • ►  September (1)
    • ►  January (2)
  • ►  2014 (13)
    • ►  December (2)
    • ►  November (2)
    • ►  August (6)
    • ►  July (3)
  • ▼  2013 (30)
    • ►  December (1)
    • ▼  July (1)
      • Portable Git reuses existing ssh key
    • ►  April (1)
    • ►  March (3)
    • ►  February (10)
    • ►  January (14)
  • ►  2012 (9)
    • ►  September (1)
    • ►  August (2)
    • ►  May (6)
  • ►  2011 (14)
    • ►  December (4)
    • ►  May (1)
    • ►  January (9)
  • ►  2010 (44)
    • ►  November (2)
    • ►  October (27)
    • ►  June (2)
    • ►  May (3)
    • ►  April (10)
Simple theme. Theme images by gaffera. Powered by Blogger.