Sign inSign up

milobahg/sftp

By milobahg

Updated over 8 years ago

Docker SFTP server, chroot'd home dirs and customer admin interface

Image
0

304

milobahg/sftp repository overview

Edit the Dockerfile with the root password of your choice, otherwise use the default password of 'ChangeMeNow' and then change at login. Only root used is allowed TTY access, once you are logged in run 'sftpsystem' to create a new SFTP user account. SFTP users can only use SFTP, not TTY. Two volumes created (optional) at tun time, inspect to see where the data is help locally on host.

If you are cloning from GitHub, then you will need to make all scripts inside of the scripts/ dir executable first (cd into scripts and then chmod u+x *)

docker run --name sftp -v sftpdata:/home -v sftplogs:/var/sftp_log -p 2222:22 -d milobahg/sftp:latest

Tag summary

Content type

Image

Digest

Size

135.9 MB

Last updated

over 8 years ago

docker pull milobahg/sftp