mailiverse/deploy/tunnel/vpn-ssh/run-server

12 lines
209 B
Plaintext
Raw Normal View History

2013-08-09 17:31:37 -04:00
source ./HOST
autossh \
-i green.pem root@$HOST \
-D 23232 \
-w 0:0 \
-o Tunnel=ethernet \
-o ServerAliveInterval=30 \
-o PermitLocalCommand=yes \
-o LocalCommand="./client/run-to-log" \
./run-to-log