Just a short tip. If your ssh server is on a non-standard port other than port 22, maybe 8822 there are two ways if you manage your repositories with gitosis.
You can just add the port to yur git url like:
git clone ssh://firstname.lastname@example.org:8822/repo.git
(Note: git clone email@example.com:8822/repo.git without protocol specification wont work)
or create a file ~/.ssh/config containing
Host myserver.com Port 8822