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