mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Fix #123 Set UseDNS to No in sshd_config
This commit is contained in:
parent
ac4279cc06
commit
ad0b358d10
@ -132,6 +132,7 @@ if [ ! -e /home/git/data/ssh/ssh_host_rsa_key ]; then
|
||||
fi
|
||||
# configure sshd to pick up the host keys from /home/git/data/ssh/
|
||||
sed -i 's,HostKey /etc/ssh/,HostKey /home/git/data/ssh/,g' -i /etc/ssh/sshd_config
|
||||
echo "UseDNS no" >> /etc/ssh/sshd_config
|
||||
|
||||
# start supervisord
|
||||
/usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user