A lightweight SFTP server built on top of Apache MINA SSHD.
256
A lightweight SFTP server built on top of Apache MINA SSHD. This project is specifically designed with modern cloud-native infrastructures and strict container security principles in mind.
https://github.com/michelb1/sftp-server
SFTP_USERS='user1:password(bcrypt):home_dir1:subfolder1,subfolder2;user2:password(bcrypt):home_dir2'
SFTP_PORT (Default 2222)
SFTP_HOST_KEY_PATH (Default -> use a generated key - currently only works with RSA keys)
SFTP_HOST_KEY_PW (Default -> no passwordcheck)
SFTP_CREATE_FOLDER_PERMISSION=true/false (Default false)
SFTP_DELETE_FOLDER_PERMISSION=true/false (Default false)
docker run -e SFTP_USERS='michelb1:$2a$12$AIO5VkkYfTGBoByYg4rSHeQy0rUOWDQ1zUnIBhjEMkcWlhMi069.u:/app/home/michelb1:upload' -p 2222:2222 imichelb1/sftp-server:latest
Important: Place the home folder and hostkey under the /app/ directory. Because the container runs as a non-root user, creating files or directories outside this path may result in permission errors.
Content type
Image
Digest
sha256:68e349167…
Size
59.4 MB
Last updated
1 day ago
docker pull imichelb1/sftp-server