Block a user
docker-ssh-jumphost (54b712a)
Published 2026-11-01 01:14:18 +01:00 by chris
Installation
docker pull git.debilux.org/chris/docker-ssh-jumphost:54b712asha256:f95306b6d78c3ede1afa1f0cb84152c6ba195c77d6fa9fde1839e8c0a668d641
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 5727e7106b | linux/amd64 | 9.1 MiB |
| 3814472bea | linux/arm64 | 9.4 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.24.3-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"] |