utils/assh (0.0.1)

Published 2023-06-15 07:55:55 +00:00 by akelsey

Installation

docker pull git.kelsey.id.au/akelsey/utils/assh:0.0.1
sha256:a1fe83bc4b327820e37ace4726c462398519b2e77b8b145855c8d6bc8a3ee34c

Image Layers

ADD file:1da756d12551a0e3e793e02ef87432d69d4968937bd11bed0af215db19dd94cd in /
CMD ["/bin/sh"]
LABEL maintainer="Oscar Andrés Díaz <info@oscarandresdiaz.com>"
/bin/sh -c apk --update add --no-cache openssh rsync bash && sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config && echo "root:root" | chpasswd && rm -rf /var/cache/apk/* && sed -ie 's/#Port 22/Port 22/g' /etc/ssh/sshd_config && sed -ri 's/#HostKey \/etc\/ssh\/ssh_host_key/HostKey \/etc\/ssh\/ssh_host_key/g' /etc/ssh/sshd_config && sed -ir 's/#HostKey \/etc\/ssh\/ssh_host_rsa_key/HostKey \/etc\/ssh\/ssh_host_rsa_key/g' /etc/ssh/sshd_config && sed -ir 's/#HostKey \/etc\/ssh\/ssh_host_dsa_key/HostKey \/etc\/ssh\/ssh_host_dsa_key/g' /etc/ssh/sshd_config && sed -ir 's/#HostKey \/etc\/ssh\/ssh_host_ecdsa_key/HostKey \/etc\/ssh\/ssh_host_ecdsa_key/g' /etc/ssh/sshd_config && sed -ir 's/#HostKey \/etc\/ssh\/ssh_host_ed25519_key/HostKey \/etc\/ssh\/ssh_host_ed25519_key/g' /etc/ssh/sshd_config && /usr/bin/ssh-keygen -A && ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_key
EXPOSE 22
CMD ["/usr/sbin/sshd","-D"]

Labels

Key Value
io.buildah.version 1.30.0
maintainer Oscar Andrés Díaz <info@oscarandresdiaz.com>
Details
Container
2023-06-15 07:55:55 +00:00
2
OCI / Docker
linux/amd64
6.9 MiB
Versions (1) View all
0.0.1 2023-06-15