summaryrefslogtreecommitdiff
path: root/others/init.sh
diff options
context:
space:
mode:
authorxie hao cheng <hc@email.ch>2024-10-08 09:01:14 +0800
committerxie hao cheng <hc@email.ch>2024-10-08 09:01:14 +0800
commit04c8d737fbdd16d7de0b035cbeaa3fa59bb76273 (patch)
treec460820c041886b7fd81acde3d337db6ed41bbb9 /others/init.sh
parent29d91da63b13e3698186a4e009d44b0a9e93d268 (diff)
added.autossh.script
Diffstat (limited to 'others/init.sh')
-rw-r--r--others/init.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/others/init.sh b/others/init.sh
new file mode 100644
index 0000000..b502f82
--- /dev/null
+++ b/others/init.sh
@@ -0,0 +1 @@
+/usr/bin/autossh -fN -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -i /home/x/man1 -R localhost:8888:localhost:8888 -R 24:localhost:22 -R localhost:3389:localhost:3389 -o StrictHostKeyChecking=no root@sg1.0nom.ch