Block a user
docker-ssh-jumphost (54b712a)
Published 2026-04-26 02:16:32 +02:00 by chris
Installation
docker pull git.debilux.org/chris/docker-ssh-jumphost:54b712asha256:09e149e90f3b37ff0db508dcd1705a7062cb71c00339b6aaa079d3f743b7a450
Images
| Digest | OS / Arch | Size |
|---|---|---|
| daf4837288 | linux/amd64 | 9.3 MiB |
| 6a63d4be78 | 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"] |