Marius,

it was the permissions issue on the .ssh directory..
Now it works great!

thanks a lot!
H.

On Thu, Jan 7, 2010 at 2:37 AM, Marius Mårnes Mathiesen
<[email protected]> wrote:
> On Wed, Jan 6, 2010 at 7:21 PM, haruny <[email protected]> wrote:
>>
>> a) When I add SSH keys it doesn't say ready.
>> - I see the key added to /home/git/.ssh/authorized_keys correctly.
>> - Poller, ActiveMQ, git-daemon, ultrasphinx running correctly.
>
> As long as the key is added to authorized_keys you can be pretty sure it has
> been processed... Is the poller running with the same RAILS_ENV as your
> app?
>>
>> b) Although the ssh keys are in authorized_keys, when I try to git
>> push, it asks me password.
>
> Are you pusing as the git user (ie. g...@host:repo.git)? If you try
> establishing an ssh session with the -v flag (ssh -v g...@host...) you'll see
> the handshakes between the client and server.
> Also: are the permissions for /home/git/.ssh (and contents) correct? The
> openssh logs on the server should warn if not.
> Cheers,
> - Marius
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
>
>
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to