Blame tests/p_openssh/sshd_conn_test.sh
|
Karanbir Singh |
0b5bb2 |
#!/bin/sh
|
|
Karanbir Singh |
0b5bb2 |
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
|
Karanbir Singh |
0b5bb2 |
|
|
Karanbir Singh |
0b5bb2 |
# FIXME: Test is very basic
|
|
Karanbir Singh |
2dd0be |
|
|
Karanbir Singh |
2dd0be |
t_Log "Running $0 - SSHD is listening test."
|
|
Karanbir Singh |
2dd0be |
|
|
![](https://seccdn.libravatar.org/avatar/5ee4a5868feec154826c1c20b7dbff96e1c2b23222b39ecb3814404ccdffe2fd?s=16&d=retro) |
6e6269 |
>/dev/null 2>&1 >/dev/tcp/localhost/22
|
|
Karanbir Singh |
2dd0be |
|
|
Steve Barnes |
464547 |
t_CheckExitStatus $?
|