- https://matthewheadlee.com
- Joined on
2019-02-21
Block a user
ssh-jumphost (20240502)
Published 2024-05-03 01:05:57 +00:00 by mmh
Installation
docker pull git.xn0.org/mmh/ssh-jumphost:20240502sha256:c6920cb571aeb916c41f5bf44289afc21f345e42aaf64717c822b793a32b77cbImage Layers
| ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in / |
| CMD ["/bin/sh"] |
| LABEL maintainer="Matthew Headlee <mmh@matthewheadlee.com>" |
| LABEL description="A secure-by-default SSH JumpHost." |
| ENV TZ=MST7MDT |
| EXPOSE 22/tcp |
| /bin/sh -c apk update && apk upgrade && apk add shadow linux-pam openssh openssh-server openssh-server-pam google-authenticator libqrencode net-tools && apk info -qL shadow | xargs chmod ug-s && rm -rf /var/cache/apk/* && ssh-keygen -A && passwd -l root && > /etc/motd && mkdir -p /var/spool/mail/ /etc/ssh/authorized_keys.d/ /var/local/lib/pam_google_authenticator/ && chmod u+s /bin/netstat |
| VOLUME ["/etc/password.d/"] |
| VOLUME ["/etc/ssh/authorized_keys.d/"] |
| VOLUME ["/var/local/lib/pam_google_authenticator/"] |
| COPY file:d392b3d4e9470511783887a2272889b7fe5fe961ed3dedf6fdedc1feb0551949 in /usr/local/sbin/ |
| COPY file:dce4e4159c79473aff622f5a72fe0a5d3500f23ed3e572eeab3ea250d4a81d5f in /usr/local/bin/ |
| COPY file:512f9c3da3ee4057b0985ee529f5be02b3a4f162474e5ba53a64567bd232d6a6 in /etc/pam.d/sshd |
| COPY file:ddfc57c3b8b66d280fe49b40fcbb504088248d5b33d7f62cf52b2bfcae1b94f6 in /etc/ssh/sshd_config |
| COPY file:b2fee61c91ef7f04ecbcb1e5e6969204a86b204485afa1f068ed5f01bf8642eb in /usr/local/bin/ |
| COPY file:420ff8b3786776493d8e1cca4472a711c0ff1eaeff050499c749ab1b6b37d364 in /etc/profile.d/motd.sh |
| ENTRYPOINT ["/usr/local/bin/entrypoint"] |
Labels
| Key | Value |
|---|---|
| description | A secure-by-default SSH JumpHost. |
| io.buildah.version | 1.33.7 |
| maintainer | Matthew Headlee <mmh@matthewheadlee.com> |