Reputation: 14770
I have a nodejs application under git control version and a git account for managing this one?
sudo adduser \
--system \
--shell /bin/bash \
--gecos ‘User managing of git version control’ \
--group \
--disabled-password \
--home /home/git \
git
Where should I store authorized_keys file
/home/git/authorized_keys
Or
/home/user/authorized_keys
Where user is normal user on my server
Upvotes: 2
Views: 6022
Reputation: 1314
/home/git/.ssh/authorized_keys
check this link: http://git-scm.com/book/ch4-4.html
Upvotes: 1