Update 2024-08-27 08:09 OpenBSD/amd64-dalek

This commit is contained in:
c0dev0id 2024-08-27 08:09:14 +02:00
parent 7a5200016d
commit 06fba5988b
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
#!/bin/ksh
#pkill -f "7326:localhost:7326 anonicb@slackers.openbsd.org"
#sleep 1
ssh -fN -o ServerAliveInterval=15 -L 7326:localhost:7326 anonicb@slackers.openbsd.org
#ssh -fN -o ServerAliveInterval=15 -L 7326:localhost:7326 anonicb@slackers.openbsd.org
#autossh -M 0 -f -T -N -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -L 7326:localhost:7326 anonicb@slackers.openbsd.org
/usr/bin/netstat -n \
| /usr/bin/grep -q '127\.0\.0\.1\.7326' \
|| ssh -fN -o ServerAliveInterval=15 -L 7326:localhost:7326 anonicb@slackers.openbsd.org \