Removed commit history

Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
Marko Korhonen 2019-10-26 20:05:31 +03:00
commit b5b33afcd7
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
199 changed files with 36930 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
if [[ "$2" == "up" ]] || [ "$2" == "vpn-up"]]; then
su - reekymarko -c 'ssh -f -N -R 8123:localhost:22 teapot sleep 10'
fi
if [[ "$2" == "down" ]] || [ "$2" == "vpn-up"]];then
killall ssh
fi