From 57a2e1ab0343dd892c2821ad86ccc1d945cea459 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Wed, 4 Oct 2023 05:40:21 -0500 Subject: [PATCH] add zellijssh --- zellijssh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 zellijssh 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