Eddie,
Could it be a permissions issue on the server? I think ~git/.ssh
should be 0700 and ~git/.ssh/authorized_keys should be 0600

Cheers,
- Marius

On Mon, Jan 31, 2011 at 5:25 PM, eddie hern <eddiehern88...@gmail.com> wrote:
> BTW, I did rename ~git/.ssh/authorized_keys to ~git/.ssh/authorized_keys2,
> and tried and did not work.
>
> Eddie
>
> On Mon, Jan 31, 2011 at 7:07 AM, Marius Mårnes Mathiesen
> <marius.mathie...@gmail.com> wrote:
>>
>> On Mon, Jan 31, 2011 at 10:27 AM, eddie hern <eddiehern88...@gmail.com>
>> wrote:
>> > which is the correct location of the public key. there is only 1
>> > public key for the git user's ~/.ssh folder. So how come another
>> > public key is being picked?
>>
>> If you are running as the git user (ie. ssh git@host) the server
>> should look for a public key in ~git/.ssh/authorized_keys - are you
>> specifying the user?
>> ssh -v will give you some details on which private key your client is
>> offering.
>>
>> > Any thoughts on figuring out how to call the right public key on the
>> > server are appreciated?
>>
>> One thing you could do is to rename ~git/.ssh/authorized_keys and try
>> again. If you're still asked for a password and ssh -v tells you it's
>> using publickey we may be a bit closer...
>>
>> Cheers,
>> - Marius
>>
>> --
>> To post to this group, send email to gitorious@googlegroups.com
>> To unsubscribe from this group, send email to
>> gitorious+unsubscr...@googlegroups.com
>
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
>



-- 
Marius Mårnes Mathiesen
Rubyist, Shortcut AS
Tel.: (+47) 92 60 95 38.

http://shortcut.no

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to