These are my notes basically. I first created this just as a reminder for myself. Feel free to use this for your project as a starting point.
- Create a user on
example.com
, as which we (the git client) connects (push) toexmaple.com
.
sudo useradd -m -s /usr/bin/git-shell git