mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
test: add sleep -1 before ssh-keyscan
This commit is contained in:
@@ -11,6 +11,7 @@ set -x
|
||||
# Run sshd
|
||||
if [ ! -e /var/run/sshd.pid ]; then
|
||||
/usr/sbin/sshd
|
||||
sleep 1
|
||||
fi
|
||||
|
||||
ssh-keyscan localhost >> ${HOME}/.ssh/known_hosts
|
||||
|
||||
Reference in New Issue
Block a user