bin/zellijssh
2023-10-04 05:40:21 -05:00

8 lines
105 B
Bash
Executable File

#!/usr/bin/env bash
if ping -c 1 "$1"; then
autossh -M 0 "$1"
else
echo "Host not reachable"
fi