Fix #123 Set UseDNS to No in sshd_config

This commit is contained in:
John Jelinek IV 2014-08-13 23:12:46 -05:00
parent ac4279cc06
commit ad0b358d10

View File

@ -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