From 6c1de1e807d39883c975933c4c35b91f1df88fd6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 8 Oct 2024 17:07:12 +0100 Subject: add tunnel scripts and service --- misc/tunnel.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 misc/tunnel.sh (limited to 'misc/tunnel.sh') diff --git a/misc/tunnel.sh b/misc/tunnel.sh new file mode 100755 index 0000000..c139e35 --- /dev/null +++ b/misc/tunnel.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +while true; do + echo "digging a tunnel..." + /usr/bin/ssh -NT -i /home/david/.ssh/ovski_rsa -p 4522 \ + -R 5069:localhost:5069 \ + -R 6680:localhost:6680 \ + -R 2022:localhost:22 \ + vski@86.10.87.187 +done -- cgit v1.2.1