dotfiles/.bin/bbs-tunnel

5 lines
149 B
Bash
Executable File

#!/bin/ksh
pkill -f "2323:localhost:2323 surfen@65.21.154.173"
sleep 1
ssh -fN -o ServerAliveInterval=15 -L 2323:localhost:2323 surfen@65.21.154.173