Block a user
docker-ssh-jumphost (latest)
Published 2025-11-23 01:09:03 +01:00 by chris
Installation
docker pull git.debilux.org/chris/docker-ssh-jumphost:latestsha256:ad3aa283dc4c20b45648066cb5a7d34b211892ba4aa7870b593792ce908fd848
Images
| Digest | OS / Arch | Size |
|---|---|---|
| 5b73e480b3 | linux/amd64 | 9.0 MiB |
| e343f380d3 | linux/arm64 | 9.2 MiB |
Image Layers ( linux/amd64)
| ADD alpine-minirootfs-3.22.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"] |