A docker image for wrapping arbitrary service (e.g. VNC, zabbix, ...) using ssh tunneling for security.
User -> ssh tunneling -> arbitrary service
docker-compose.yml example
version: '2'
services:
target_host:
...
ssh_tunnel:
image: contribu/ssh_tunnel_server
ports:
- "10022:22"
environment:
- "SSH_AUTHORIZED_KEY=ssh-rsa ..."
- "SSH_PERMIT_OPEN=target-host:20000"
links:
- target_host:target-host
create tunnel (-N required)
ssh -N -L 30000:target-host:20000 root@container-host -p 10022
User -> local:30000 (ssh) -> container-host:10022 (sshd) -> target-host:20000 (target service)
space separated list of ssh tunnel target host:port
Example
target-host:12345
a public key used to connect this container
Please see following files
CC0
Content type
Image
Digest
Size
70.5 MB
Last updated
almost 8 years ago
docker pull contribu/ssh_tunnel_server