Merge pull request #124 from johnjelinek/patch-2

Fix #123 Set UseDNS to No in sshd_config
This commit is contained in:
Sameer Naik 2014-08-14 14:00:04 +05:30
commit 8a32a6e293

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