toolkit/func/core/pkg_openssh/01-test-ssh-listen.sh
2023-01-04 00:44:29 -07:00

6 lines
108 B
Bash
Executable File

#!/bin/bash
r_log "openssh" "Ensure ssh is listening"
echo "" > /dev/tcp/localhost/22
r_checkExitStatus $?