diff --git a/zellijssh b/zellijssh new file mode 100755 index 0000000..68034e8 --- /dev/null +++ b/zellijssh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if ping -c 1 "$1"; then + autossh -M 0 "$1" +else + echo "Host not reachable" +fi