This container image contains a ssh installation and allows forwarding of remote or local TCP ports.
- Pull from Docker Hub, download the package from Releases or build using
builder/build.sh
This Container image extends the base image.
SERVER_KEY
- SSH key to use for authorization to the server.
SERVER_URL
- Server to connect to in the format
ssh://[user@]hostname[:port]
.
- Server to connect to in the format
SERVER_IDENTITY
- Public key of the server for host key checking.
FORWARD_DIRECTION
- Where to forward.
remote
to forward connections to a port on the local machine to a remote port.local
to forward connections to a port on the remote machine to a local port.
- Where to forward.
SOURCE_ADDRESS
- Source address in the format
HOST:PORT
.
- Source address in the format
TARGET_ADDRESS
- Target address in the format
HOST:PORT
.
- Target address in the format
To run for development execute:
docker compose --file docker-compose-dev.yaml up --build