summaryrefslogtreecommitdiff
path: root/bin/ssh-and-tmux
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ssh-and-tmux')
-rwxr-xr-xbin/ssh-and-tmux11
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/ssh-and-tmux b/bin/ssh-and-tmux
index 5b8aa7a1..13b6de4d 100755
--- a/bin/ssh-and-tmux
+++ b/bin/ssh-and-tmux
@@ -27,11 +27,12 @@
-# Space-separated list of hosts I want to mosh to. Be conservative: it's not
-# just that mosh is available on that machine and it's not a highly
-# security-sensitive machine, but also that, e.g., the host reboots less often
-# than the workstation that'll be connecting, to avoid zombie clients.
-mosh_hosts="athena.silentflame.com"
+# Hosts I want to mosh to.
+# Be conservative: it's not just that mosh is available on that machine and
+# it's not a highly security-sensitive machine, but also that, e.g., the host
+# reboots not much more often than the workstation that'll be connecting, to
+# minimise zombie clients.
+mosh_hosts=(athena.silentflame.com)
getopt=$(getopt -s bash -o "" \
-l 'container-cmd:,container-name:' -n ssh-and-tmux -- "$@")