ep76 / docker-openssh-static

A Docker image for OpenSSH, statically compiled with musl

Home Page:https://hub.docker.com/r/ep76/openssh-static

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Docker image for OpenSSH, statically compiled with musl

https://hub.docker.com/r/ep76/openssh-static

License:MIT License


Languages

Language:Dockerfile 100.0%