diff --git a/tests/p_openssh/sshd_conn_test.sh b/tests/p_openssh/sshd_conn_test.sh index 50e3a5a..d1014b7 100755 --- a/tests/p_openssh/sshd_conn_test.sh +++ b/tests/p_openssh/sshd_conn_test.sh @@ -5,6 +5,6 @@ t_Log "Running $0 - SSHD is listening test." -nc -w 1 localhost 22 > /dev/null 2>&1 +>/dev/null 2>&1 >/dev/tcp/localhost/22 t_CheckExitStatus $?