Block a user
docker-ssh-jumphost (sha256:76114f4cc1e8d0c31eb35f7585b74fd0921a531943e002e82d2269ef75902cf1)
Published 2025-10-05 02:09:20 +02:00 by chris
Installation
docker pull git.debilux.org/chris/docker-ssh-jumphost@sha256:76114f4cc1e8d0c31eb35f7585b74fd0921a531943e002e82d2269ef75902cf1
sha256:76114f4cc1e8d0c31eb35f7585b74fd0921a531943e002e82d2269ef75902cf1
Image Layers
ADD alpine-minirootfs-3.22.1-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 &{[{{11 0} {11 0}}] 0xc000299a00} |
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"] |