|Bit c3cab21e46 updated run script||2 months ago|
|Dockerfile||2 months ago|
|README.md||2 months ago|
|run.sh||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 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.