Answer the question
In order to leave comments, you need to log in
How to provide access to Git on the server, without a web interface?
You often see articles about how to make a server for Git, but I never found information that would fit the right case.
You need to do this:
git clone
there must also be a key request.Answer the question
In order to leave comments, you need to log in
> It doesn't matter, ssh is also possible. The main thing is that it works) Git is much more difficult to set up than SVN.
In the case of ssh, it's easier to set up than SVN.
git clone ssh://[email protected]/path/to/git/source
and that's it. You can play around with ssh-keygen further to walk with a specific password (or even no password at all). Security can be enhanced. by selecting a separate user (git for example) and giving him the /usr/bin/git-shell shell, and then through ssh keys to give access to the repository to different individuals.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question