From 6be61e8adff9690fd2d0cc943a1ac63939b5f0d8 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Wed, 22 Mar 2023 19:24:14 +0900 Subject: [PATCH] test: add sleep -1 before ssh-keyscan --- scripts/test-in-container.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test-in-container.sh b/scripts/test-in-container.sh index 1e003b3..cdaef47 100755 --- a/scripts/test-in-container.sh +++ b/scripts/test-in-container.sh @@ -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