From 11e47dc6a67eab276f869c2e9ad8c956a01c1143 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 25 Nov 2023 20:39:02 -0600 Subject: [PATCH] Update status.inc --- inc/status.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/status.inc b/inc/status.inc index 409f4e7d..fe27b667 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -159,7 +159,7 @@ STATUS(){ if [[ "${RUN_NODE_IP}" == *"${nip}"* ]]; then NCMD=''; LH='- localhost' else - NCMD="ssh root@${nip}"; LH='' + NCMD="ssh -o ConnectTimeout=3 root@${nip}"; LH='' fi if [ "${NCMD}" != "" ]; then checkhost=$(CHECK_HOST ${nip})