ssh: init: nah. we don't ship own known_hosts.

This commit is contained in:
Stefan Saraev 2013-07-21 19:59:13 +03:00
parent 2218deaa88
commit 4d4978878b

View File

@ -69,12 +69,6 @@
chmod 600 $DSA2_KEY
fi
# Check for predefined known hosts file
if [ -f /etc/ssh/known_hosts -a ! -f $HOME/.ssh/known_hosts ] ; then
progress "SSH: setup predefined known hosts"
cp /etc/ssh/known_hosts $HOME/.ssh
fi
progress "Starting SSH Server"
rm /var/run/sshd.pid &>/dev/null
eval $SSHD $OPTIONS