2023-05-02 20:23:25 +02:00
|
|
|
#!/bin/ksh
|
2023-08-23 16:53:46 +02:00
|
|
|
#pkill -f "2323:localhost:2323 surfen@65.21.154.173"
|
|
|
|
#sleep 1
|
2023-05-02 20:23:25 +02:00
|
|
|
ssh -fN -o ServerAliveInterval=15 -L 2323:localhost:2323 surfen@65.21.154.173
|
2023-08-23 16:53:46 +02:00
|
|
|
#autossh -M 0 -f -T -N -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -L 2323:localhost:2323 surfen@65.21.154.173
|