Block a user
custom_sftp (latest)
Published 2024-06-29 13:10:52 +03:00 by brinza
Installation
docker pull git.ilbz.ru/brinza/custom_sftp:latestsha256:e8a7898918ce5d9ddf56696ce3dc3cec7c805b1319087ebd913e63bb91eff326
Image Layers
| ADD file:d2a2ac890c4f902560feaadaac9f36a9b844131c97453ecb90241cf525185196 in / |
| CMD ["bash"] |
| MAINTAINER Adrian Dvergsdal [atmoz.net] |
| RUN /bin/sh -c apt-get update && apt-get -y install openssh-server && rm -rf /var/lib/apt/lists/* && mkdir -p /var/run/sshd && rm -f /etc/ssh/ssh_host_*key* # buildkit |
| COPY files/sshd_config /etc/ssh/sshd_config # buildkit |
| COPY files/create-sftp-user /usr/local/bin/ # buildkit |
| COPY files/entrypoint / # buildkit |
| EXPOSE map[22/tcp:{}] |
| ENTRYPOINT ["/entrypoint"] |
| RUN /bin/sh -c sed -i -e 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config # buildkit |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2024-06-28 12:06:25+00:00 |
| org.opencontainers.image.revision | eacf69313194e36a9ec991a9a163431e1d563d75 |
| org.opencontainers.image.source | https://github.com/atmoz/sftp |