diff options
| author | xie hao cheng <hc@email.ch> | 2024-10-08 09:01:14 +0800 |
|---|---|---|
| committer | xie hao cheng <hc@email.ch> | 2024-10-08 09:01:14 +0800 |
| commit | 04c8d737fbdd16d7de0b035cbeaa3fa59bb76273 (patch) | |
| tree | c460820c041886b7fd81acde3d337db6ed41bbb9 | |
| parent | 29d91da63b13e3698186a4e009d44b0a9e93d268 (diff) | |
added.autossh.script
| -rw-r--r-- | others/init.sh | 1 |
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 |
