aboutsummaryrefslogtreecommitdiff
path: root/dbx-proxy
diff options
context:
space:
mode:
Diffstat (limited to 'dbx-proxy')
-rwxr-xr-xdbx-proxy17
1 files changed, 0 insertions, 17 deletions
diff --git a/dbx-proxy b/dbx-proxy
deleted file mode 100755
index 67e0456..0000000
--- a/dbx-proxy
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-# SPDX-License-Identifier: GPL-3.0-only
-
-set -euo pipefail
-
-if [[ $# -ne 1 ]]; then
- echo "ERROR: missing port to proxy" >&2
- exit 1
-fi
-
-root="$(dirname "$(realpath "${BASH_SOURCE[0]}")")"
-machine="${DBX_MACHINE:-dbx}"
-port="$1"
-
-"$root/dbx-start"
-exec ssh "$machine" -F "$root/ssh/$machine.config" \
- -L "localhost:$port:localhost:$port" -N