mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
Merge pull request #2735 from zimmski/enable-git-protocol-2
Allow SSH clients to explicitly set the Git transfer protocol
This commit is contained in:
commit
5450187484
@ -246,6 +246,7 @@ sed -i \
|
||||
-e "s|^[#]*LogLevel INFO|LogLevel VERBOSE|" \
|
||||
-e "s|^[#]*AuthorizedKeysFile.*|AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys_proxy|" \
|
||||
/etc/ssh/sshd_config
|
||||
echo "AcceptEnv GIT_PROTOCOL" >> /etc/ssh/sshd_config # Allow clients to explicitly set the Git transfer protocol, e.g. to enable version 2.
|
||||
echo "UseDNS no" >> /etc/ssh/sshd_config
|
||||
|
||||
# move supervisord.log file to ${GITLAB_LOG_DIR}/supervisor/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user