mailiverse/deploy/tunnel/vpn-ssh/run-server
2013-08-09 17:31:37 -04:00

12 lines
209 B
Plaintext
Executable File

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