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 6 months ago
Dockerfile updated script permissions 6 months ago
README.md initial file upload 6 months ago
run.sh updated run script 6 months ago

README.md

SSHForwardingServer

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

services:
  ssh_server:
    image: ssh_forwarding_server:latest
    build: https://git.darknebu.la/bit/SSHForwardingServer.git
    ports:
      - "9022:22"
    environment:
      - "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.