Run a SSH proxy based on Alpine Linux. Small, lightweight, secure and fast
  • Dockerfile 84.2%
  • Shell 15.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-06-09 11:15:44 +03:00
rootfs/usr/local/bin init 2024-12-04 10:37:52 +03:00
.gitattributes init 2024-12-04 10:37:52 +03:00
.gitignore пользователь abc уже в образе 2025-06-09 11:15:44 +03:00
.woodpecker.yaml v1.4.8 2025-06-09 10:37:15 +03:00
Dockerfile пользователь abc уже в образе 2025-06-09 11:15:44 +03:00
LICENSE v1.4.8 2025-06-09 10:37:15 +03:00
README.md v1.4.8 2025-06-09 10:37:15 +03:00

Alpine :: SSH proxy via sshpiperd

size version pulls activity commit-last

Run a SSH proxy based on Alpine Linux. Small, lightweight, secure and fast

Run

docker run --name sshpiper \
  -d coralhl/sshpiper \
  -v /opt/docker/sshpiper/sshpiper.yaml:/sshpiperd/sshpiper.yaml \
  -p 2222:2222 \
  -e TZ=Europe/Moscow \
  sshpiperd --log-level=trace yaml --config /sshpiperd/sshpiper.yaml 

docker-compose.yml

services:
  sshpiper:
    image: coralhl/sshpiper
    container_name: sshpiper
    restart: unless-stopped
    command: sshpiperd yaml --config /sshpiperd/sshpiper.yaml
    environment:
      TZ: Europe/Moscow 
    ports:
      - 2222:2222
    volumes:
      - /opt/docker/sshpiper/sshpiper.yaml:/sshpiperd/sshpiper.yaml

Defaults

Parameter Value Description
user docker user docker
uid 1000 user id 1000
gid 1000 group id 1000
home /sshpiperd home directory of user docker

Environment

Parameter Value Default
SSHPIPERD_SERVER_KEY ed25519 server key /etc/ssh/ssh_host_ed25519_key

Built with

Tips

  • Only use rootless container runtime (podman, rootless docker)
  • If using the yaml plugin, make sure your yaml file has permissions 600
  • Don't bind to ports < 1024 (requires root), use NAT/reverse proxy (haproxy, traefik, nginx)