SFTP

SFTP is a hardened Docker image that runs an OpenSSH SFTP server with Fail2ban, letting homelab users securely transfer files to shared host folders.

  • Cloud
  • Network Services
  • Tools & Utilities
SFTP is a hardened Docker image that runs an OpenSSH SFTP server with Fail2ban, letting homelab users securely transfer files to shared host folders.

Platform availability

Available on 2 of 9 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

28/100 Low

Maintained
0last commit 2032 days ago
Popular
2620 GitHub stars
Easy to install
452 install platforms, install notes, Docker image
Light to run
85500 MB minimum RAM

Availability: platform listings confirmed today, links checked 10 days ago

GitHub stars
20
Open issues
5
Last commit
2021-03-22
License
MIT
Activity
stale

Checked 7 days ago - source: GitHub (MarkusMcNugen/docker-sftp)

Resources & Compatibility

Minimum requirements: 500 MB RAM, 357 MB disk. ARM (e.g. Raspberry Pi) is not supported.

Checked 17 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Enter your SFTP server login details SFTP (secure file transfer) examples need the server address, port, username, and password filled in. If these are missing or wrong, the client cannot connect and files will not transfer. source
  • Use the correct port, usually 22 The examples connect on port 22, the normal port for SSH/SFTP. If your server uses a different port or that port is blocked, the connection will fail before any files move. source
  • Double-check local folder paths The examples use local folder paths as the place to save or read files. If those folders do not exist or point to the wrong place, transfers can fail or save files somewhere unexpected. source
  • Shared paths and users Replace the example shared host path and container user with your own folder and the user configured in users.conf. source

Fetched today - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

Which port should I publish for the SFTP server?

OpenSSH listens inside the container on TCP port 22. You can map that to any host port, such as 2222:22.

How do I share a host directory with a container user?

Mount the host path into a folder inside that user's home directory. The documented example mounts /host/upload to /home/user/upload.

Where do I add SFTP users?

Add users to /config/sshd/users.conf. The /config volume is required and holds the SSH users file.

Do Fail2ban bans persist between container reboots?

Yes, when /config is mounted persistently. Fail2ban stores its ban database in /config/fail2ban/fail2ban.sqlite3 for persistent bans between reboots.

Answers sourced from github.com

Community

Collected 16 days ago - public community threads