Alexey Poimtsev
Alexey Poimtsev

Reputation: 2847

gitosis authorized keys

Strange thing - on git push gitosis does not adds key for new user to the /home/git/.ssh/authorized_keys. Of course - i can add keys manually, but its not good :(

What can i do?

Upvotes: 1

Views: 1898

Answers (2)

Clive Evans
Clive Evans

Reputation: 658

This also happens if you forget to add .pub to the end of your key file in the keydir, which kept me entertained for a while ...

Upvotes: 2

Alexey Poimtsev
Alexey Poimtsev

Reputation: 2847

to solve this problem i've used

sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update

Upvotes: 2

Related Questions