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})