Skip to content

ep76/docker-openssh-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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