Running a “secure” git server over SSH without gitosis/gitolite?

后端 未结 3 2168
囚心锁ツ
囚心锁ツ 2021-02-19 17:10

Is it possible to run a git server over ssh, using authorized_keys and command= to restrict access to only the git repositories, without using gitosis/

3条回答
  •  故里飘歌
    2021-02-19 18:05

    Yes, assign the git shell as the login shell for all users which shall only have git access.

提交回复
热议问题