SSH (remote) port-forwarding server.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bit c3cab21e46 updated run script 2 months ago
Dockerfile updated script permissions 2 months ago initial file upload 2 months ago updated run script 2 months ago


A SSH server for (remote) port-forwarding. Add your public key as environment variable PUBLIC_KEYS. If you want to add multiple keys, split them by semicolon.

An example is:

version: 3

    image: ssh_forwarding_server:latest
      - "9022:22"
      - "PUBLIC_KEYS=ThisIsYourPublicKey"

Where ThisIsYourPublicKey is the public key, a service can use to connect to the ssh server located at port 9022. Forwarded ports are accessible from other containers by using ssh_server:port. If you want the port to be published to the host just add another exposed port to the compose file.