Block a user
proftpd-sftp (latest)
Published 2025-02-17 08:20:33 -03:00 by lgcosta
Installation
docker pull git.labexposed.com/lgcosta/proftpd-sftp:latestsha256:b85bf263ca9ddf072e77af3d18440ce7d9d226fe135d45a370bedebf92ac67e0
Image Layers
| ADD alpine-minirootfs-3.18.12-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| /bin/sh -c apk add --no-cache openssl pcre proftpd proftpd-mod_sql_mysql proftpd-mod_quotatab_sql proftpd-mod_sftp proftpd-utils openssh-keygen bash |
| /bin/sh -c mkdir -p /etc/ssh |
| /bin/sh -c ssh-keygen -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key -N "" |
| /bin/sh -c ssh-keygen -t ecdsa -b 521 -f /etc/ssh/ssh_host_ecdsa_key -N "" |
| /bin/sh -c ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N "" |
| /bin/sh -c chmod 0600 /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_ecdsa_key /etc/ssh/ssh_host_ed25519_key |
| /bin/sh -c mkdir -p /var/run/proftpd && chmod 755 /var/run/proftpd |
| EXPOSE 22 |
| CMD ["/usr/sbin/proftpd", "-n", "-c", "/etc/proftpd.conf"] |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.28.2 |