From 04c8d737fbdd16d7de0b035cbeaa3fa59bb76273 Mon Sep 17 00:00:00 2001 From: xie hao cheng Date: Tue, 8 Oct 2024 09:01:14 +0800 Subject: added.autossh.script --- others/init.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 others/init.sh 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 -- cgit v1.2.3-70-g09d2