From 68e3ca2a4df410bae552554c69ea0fab554384b6 Mon Sep 17 00:00:00 2001 From: Kalitsune Date: Sun, 5 May 2024 16:07:18 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Made=20the=20mounting=20po?= =?UTF-8?q?int=20algorithmically=20agnostic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Breaking change: please mount your private key to /ssh_hey from now on --- README.md | 2 +- examples/docker-compose.yaml | 2 +- run.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 520e62c..7d337fd 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ FORKED FROM jujhars13/docker-ssh-tunnel but reversed the tunnel direction. | `REMOTE_IP` | Which IP should sshd listen from on the gateway (`*` for all) | * | -Note: Remember to inject/mount your private SSH key into the container to `/ssh_key/ed_key`. +Note: Remember to inject/mount your private SSH key into the container to `/ssh_key`. ## Repos diff --git a/examples/docker-compose.yaml b/examples/docker-compose.yaml index ec534c8..8780ed5 100644 --- a/examples/docker-compose.yaml +++ b/examples/docker-compose.yaml @@ -8,7 +8,7 @@ services: - nginx-hello - openssh-server volumes: - - ./ssh/ed_key:/ssh_key/ed_key:ro \ + - ./ssh/ed_key:/ssh_key:ro \ environment: - SSH_PORT=2222 - SSH_USER=proxy diff --git a/run.sh b/run.sh index 1bc6716..bbfe86b 100755 --- a/run.sh +++ b/run.sh @@ -25,4 +25,4 @@ echo "starting SSH Reverse proxy $REMOTE_IP:$REMOTE_PORT -> $LOCAL_IP:$LOCAL_POR -R $REMOTE_IP:$REMOTE_PORT:$LOCAL_IP:$LOCAL_PORT \ $SSH_USER@$GATEWAY_IP \ -p $SSH_PORT \ --i /ssh_key/ed_key +-i /ssh_key