Skip to content

Commit

Permalink
⚙️ Made the mounting point algorithmically agnostic
Browse files Browse the repository at this point in the history
Breaking change: please mount your private key to /ssh_hey from now on
  • Loading branch information
Kalitsune committed May 5, 2024
1 parent 921e1d8 commit 68e3ca2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 68e3ca2

Please sign in to comment.