Block a user
docker-ssh-jumphost (54b712a)
Published 2026-01-25 01:10:44 +01:00 by chris
Installation
docker pull git.debilux.org/chris/docker-ssh-jumphost:54b712asha256:2bbd567a825ef08bc19e1e9bd8c5b704b66aa085c97ee6dfb8e7c9aa76680ff7
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 2afb1687f6 | linux/amd64 | 9.3 MiB |
| 74bcc2a2b6 | linux/arm64 | 9.6 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.23.2-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"] |