diff options
author | ache <ache@ache.one> | 2017-09-24 21:40:48 +0000 |
---|---|---|
committer | ache <ache@ache.one> | 2017-09-24 21:40:48 +0000 |
commit | 9b4b5c2b927aacfa89c803319281e19b88ffc357 (patch) | |
tree | 2bfc1cf19fbbfbf2a33060b339a3c78e01b8dde3 /functions | |
parent | Set default editor to vim (diff) |
autossh > ssh
Diffstat (limited to 'functions')
-rw-r--r-- | functions/rv.fish | 2 | ||||
-rw-r--r-- | functions/sec.fish | 2 |
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' |