summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-09-24 21:40:48 +0000
committerache <ache@ache.one>2017-09-24 21:40:48 +0000
commit9b4b5c2b927aacfa89c803319281e19b88ffc357 (patch)
tree2bfc1cf19fbbfbf2a33060b339a3c78e01b8dde3 /functions
parentSet default editor to vim (diff)
autossh > ssh
Diffstat (limited to 'functions')
-rw-r--r--functions/rv.fish2
-rw-r--r--functions/sec.fish2
2 files changed, 2 insertions, 2 deletions
diff --git a/functions/rv.fish b/functions/rv.fish
index dc3662b..b997df7 100644
--- a/functions/rv.fish
+++ b/functions/rv.fish
@@ -1 +1 @@
-alias rv='ssh achessh@ache.one -p 21 -R 60065:localhost:22 -fN'
+alias rv='autossh -M 10000 achessh@ache.one -p 21 -R 60065:localhost:22 -fN'
diff --git a/functions/sec.fish b/functions/sec.fish
index 3dda398..26145e9 100644
--- a/functions/sec.fish
+++ b/functions/sec.fish
@@ -1,2 +1,2 @@
-alias sec='ssh achessh@ache.one -p 21 -D 8886 -fN'
+alias sec='autossh -M 10003 achessh@ache.one -p 21 -D 8886 -fN'