mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
ssh: init: nah. we don't ship own known_hosts.
This commit is contained in:
parent
2218deaa88
commit
4d4978878b
@ -69,12 +69,6 @@
|
|||||||
chmod 600 $DSA2_KEY
|
chmod 600 $DSA2_KEY
|
||||||
fi
|
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"
|
progress "Starting SSH Server"
|
||||||
rm /var/run/sshd.pid &>/dev/null
|
rm /var/run/sshd.pid &>/dev/null
|
||||||
eval $SSHD $OPTIONS
|
eval $SSHD $OPTIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user