summaryrefslogtreecommitdiff
path: root/misc/tunnel.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-10-08 17:07:12 +0100
committerdavidovski <david@davidovski.xyz>2024-10-08 17:07:12 +0100
commit6c1de1e807d39883c975933c4c35b91f1df88fd6 (patch)
treef602c3656afa1d2c2446975b1105aec44e8b3669 /misc/tunnel.sh
parent2b0b5063e1ae9babd432e9349fc4a8ca69340456 (diff)
add tunnel scripts and service
Diffstat (limited to 'misc/tunnel.sh')
-rwxr-xr-xmisc/tunnel.sh10
1 files changed, 10 insertions, 0 deletions
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