Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 437 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 437 Bytes

SFTP Server

Run SFTP as a non-root user with Dropbear.

Usage

$ docker run -d -e 'USER_ENCRYPTED_PASSWORD=my-encrypted-password' -p 2222:2222 zeilenwerk/sftp

To generate an encrypted password, you can run the following command:

$ echo -n 'your-actual-password' | docker run -i --rm atmoz/makepasswd --crypt-md5 --clearfrom=-

Then you can log in using SFTP:

$ sftp -P 2222 sftp@localhost