Serving git through SSH

Hello all,

This is really simple to do once you know how git works.
If you managed to follow the previous post, the only thing you have to do is start a sshd in you server machine and add users to it.
Remember to use

git-shell

as the shell to your users ;-)

When cloning a repository, you should use:

$ git-clone git+ssh://username@/path/to/project.git/

And that's all. You can pull and push via ssh.

Simple isn't it?

VN:F [1.9.0_1079]
Rating: 0.0/5 (0 votes cast)
VN:F [1.9.0_1079]
Rating: 0 (from 0 votes)

Leave a Reply