Thanks for the help. I was on the right track. I can ssh from my pc if I
add my mac user to the front of the url. eg macusern...@server.net this way
I am not prompted to enter a password. Should I set up git in some way to
use my mac username by default? Any advice from here?
On Tuesday, 10 July 2012 16:12:14 UTC+10, Thomas Ferris Nicolaisen wrote:
> Just to follow up, the Github help pages have some good tips on setting up
> SSH keys on Windows:
> Just skip the part about generating new keys, and the Github specific
> things (like uploading ssh keys in the admin interface).
> Usually, these problems are because of:
> * SSH is not using the correct key file - you can investigate this by
> looking at the output of "ssh -v git-username@git-server"
> * The contents of the key file are corrupted (accidentally added a line
> break when copy/pasting the key, etc) - you can study this by looking at
> the key file in a decent editor (like Notepad++ or something)
> On Tuesday, July 10, 2012 4:11:40 AM UTC+2, Les Nightingill wrote:
>> The first thing you need to try to diagnose is whether:
>> a. the far end is falling back to password access b/c it cannot
>> authenticate the public key you're sending
>> b. the pc thinks the local private key requires a password for access
>> if you can try an ssh connection using the keys with verbose mode turned
>> on, you might get more insight. It should (ha ha) be pretty much the same
>> command as on the mac.
>> sorry, many details missing here, I know, but maybe it gives you a
>> diagnostic start.
>> On Monday, July 9, 2012 5:16:48 PM UTC-7, 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?
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
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at