summaryrefslogtreecommitdiff
path: root/.shenv
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2018-03-04 14:21:49 -0700
committerSean Whitton <spwhitton@spwhitton.name>2018-03-04 14:21:49 -0700
commit9fecd8d655ef17eba1cfa5e4eb2f9d6727ea0174 (patch)
tree6fa6d4bbdb6e38d253f206527ddda54f63c6c02b /.shenv
parentc9eaddfc6aecca4c732a24e97e01e910d2d7d73e (diff)
downloaddotfiles-9fecd8d655ef17eba1cfa5e4eb2f9d6727ea0174.tar.gz
autossh setup
Diffstat (limited to '.shenv')
-rwxr-xr-x.shenv7
1 files changed, 7 insertions, 0 deletions
diff --git a/.shenv b/.shenv
index eb23c6e4..8191085b 100755
--- a/.shenv
+++ b/.shenv
@@ -127,6 +127,13 @@ export BROWSER
TERMCMD="urxvt"
export TERMCMD
+# "Setting the monitor port to 0 turns the monitoring function off,
+# and autossh will only restart ssh upon ssh's exit."
+#
+# We rely on ServerAliveInterval and ServerAliveCountMax set in ~/.ssh/config
+AUTOSSH_PORT=0
+export AUTOSSH_PORT
+
# ---- set pager
lessf=$(which less)