You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_openssh/sshd_conn_test.sh

11 lines
195 B

#!/bin/sh
# Author: Athmane Madjoudj <athmanem@gmail.com>
# FIXME: Test is very basic
t_Log "Running $0 - SSHD is listening test."
>/dev/null 2>&1 >/dev/tcp/localhost/22
t_CheckExitStatus $?