Re: [git-users] Copying public keys from mac to pc

2012-07-10 Thread Konstantin Khomoutov
On Mon, 9 Jul 2012 17:16:48 -0700 (PDT)
Jackson Beale  wrote:

> I have copied my public and private keys from my mac to my pc. I am
> using git bash. The keys work fine on the mac. I have put the keys in 
> users/owner/.ssh and used the following permissions:
> 
> chmod 700 ~/.ssh
> chmod 600 ~/.ssh/*
> chmod 644 ~/.ssh/known_hosts
> 
> When I try and clone the remote repo, I am asked for a password. Any
> ideas?
What's the contents of your GIT_SSH environment variable?
Does it exist at all?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Copying public keys from mac to pc

2012-07-10 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

10.07.2012 03:16, Jackson Beale kirjoitti:
> I have copied my public and private keys from my mac to my pc. I
> am using git bash. The keys work fine on the mac. I have put the
> keys in users/owner/.ssh and used the following permissions:
> 
> |chmod 700 ~/.ssh chmod 600 ~/.ssh/* chmod 644 ~/.ssh/known_hosts|
> 
> |When I try and clone the remote repo, I am asked for a password.
> Any ideas?|

Have you added those keys to ssh-agent with ssh-add? It should be
automatic on Mac, but I don't know how does it work on Windows.

- -- 
Mika Suomalainen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Homepage: http://mkaysi.github.com/
Comment: gpg --keyserver pool.sks-keyservers.net --recv-keys 82A46728
Comment: Public key: http://mkaysi.github.com/PGP/key.txt
Comment: Fingerprint = 24BC 1573 B8EE D666 D10A  AA65 4DB5 3CFE 82A4 6728
Comment: Why do I (clear)sign emails? http://git.io/6FLzWg
Comment: Please send plaintext instead of HTML. http://git.io/TAc0cg
Comment: Please don't toppost. http://git.io/7-VB3g
Comment: Please remove PGP lines in replies. http://git.io/nvHrDg
Comment: Charset of this message should be UTF-8.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP+/D/AAoJEE21PP6CpGcodUoP/1S/VcvjNP1yOIhZIv/hJSBO
29gi7XYG5/iNElhxfIbkFp3CisxdzTIW4dy3gv0DveWaSgi103u1sazMbUMR8MB0
oZaG9eLH47KhxBApI0nXp4yzX6V8Z29sE8bqeyy10Z5A2cyV9NwCDVnnt7Cyg5Rb
8JR8/29TLVxaTr36gVo0gw8ziOF190/Zhxz+mZd5nliVTrot3BfrysH1wLPfzAWg
+mzt7PLpFLn3dv4d6wgV2L/c+xVENWbS9QYsNSuwSDKcp9y7d3/weITZyNxPLLzQ
ER8uWE3mZb6DKxbtYkJA/xiDjBJKbR1EdsDaxizNR5B6EnjQ6aCylcPCTrZmMpwl
YdA7250puZj0AsXkh/8nud5y+Z8+ng7mPUhqV6OP2eN3vvlRIaSbLv56c6Qw3oB+
78H5XbgAUVvbmjHeY2yDCQBRlfpDeqs5FtsGZkon6WiV6OndzeZO2TkurYkXezO0
Rvebjhr1cUchstctvFGKL35x7r1BEJDGQRdLHJ0DPSxvo6aZimn9ZLLHSG/15FcP
wRvxUn9BhOPUqpYwrFuQ+N8rdHatJ3O5nbkytFjUcnJjUveKoaDDNxTJGF7cAbk/
Borxpt2Cd5rJVPrClQVV/o9+/ZoQlpL0gPCVCGNMDaUjUvU+lT2qpVwETpH3RH7b
tbYu2rjkNgj0h/ZXgE7N
=5ot2
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Copying public keys from mac to pc

2012-07-09 Thread Jackson Beale
I have copied my public and private keys from my mac to my pc. I am using 
git bash. The keys work fine on the mac. I have put the keys in 
users/owner/.ssh and used the following permissions:

chmod 700 ~/.ssh
chmod 600 ~/.ssh/*
chmod 644 ~/.ssh/known_hosts

When I try and clone the remote repo, I am asked for a password. Any ideas?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/6AyAC_yVObMJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.