add zellijssh

This commit is contained in:
Jeffrey Serio 2023-10-04 05:40:21 -05:00
parent e728d0318b
commit 57a2e1ab03

7
zellijssh Executable file
View File

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