Block a user
docker-ssh-jumphost (54b712a)
Published 2026-05-24 02:09:27 +02:00 by chris
Installation
docker pull git.debilux.org/chris/docker-ssh-jumphost:54b712asha256:4379a8ecb6ec60b8c6d23decd5bb4fb80a0af0c4ddaeb83c227de1ad0cafa22a
Images
| Digest | OS / Arch | Size |
|---|---|---|
| d3b8bc68b8 | linux/amd64 | 9.3 MiB |
| 72a7e12ea5 | linux/arm64 | 9.6 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk add --update openssh # buildkit |
| COPY sshd_config /etc/ssh/sshd_bastion_config # buildkit |
| RUN /bin/sh -c echo "Include /etc/ssh/sshd_bastion_config" >> /etc/ssh/sshd_config # buildkit |
| RUN /bin/sh -c adduser -D -s /bin/sh -H bastion # buildkit |
| RUN /bin/sh -c passwd -u -d bastion # buildkit |
| EXPOSE [2222/tcp] |
| COPY entrypoint.sh /usr/local/bin/entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/entrypoint.sh # buildkit |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |