Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 858 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 858 Bytes

docker-openssh-static

A Docker image for OpenSSH, statically compiled with musl

CI DockerHub

Usage

In shell

Start sshd service:

$ docker run -d --read-only \
    -p 2222:22 -v /path/to/ssh/confs:/etc/ssh:ro \
    ep76/openssh-static:latest

Run a command:

$ docker run --rm --entrypoint=ssh ep76/openssh-static:latest -V
# <version string>

In Dockerfile

COPY --from=ep76/openssh-static:latest /usr /usr

License

MIT