0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00

Pretty linebreaks

This commit is contained in:
Adrian Dvergsdal 2014-10-20 19:50:41 +02:00
parent c8541d6d67
commit a6c2b1b404

View file

@ -6,8 +6,8 @@ Easy to use SFTP (*SSH File Transfer Protocol*) server.
Usage Usage
----- -----
- Define users and passwords in comma separated list with SFTP_USERS (syntax: - Define users and passwords in comma separated list with SFTP_USERS
`user:pass[:e][:[uid][:gid]][,...]`). (syntax: `user:pass[:e][:[uid][:gid]][,...]`).
- You must set custom UID and/or GID for your users if you want them to make - You must set custom UID and/or GID for your users if you want them to make
changes to your mounted volumes with permissions matching your host changes to your mounted volumes with permissions matching your host
filesystem. filesystem.
@ -59,5 +59,5 @@ Add `:e` behind password to mark it as encrypted:
SFTP_USERS='foo:$1$0G2g0GSt$ewU0t6GXG15.0hWoOX8X9.:e:1001:100' SFTP_USERS='foo:$1$0G2g0GSt$ewU0t6GXG15.0hWoOX8X9.:e:1001:100'
``` ```
Tip: you can use makepasswd to generate encrypted passwords: Tip: you can use makepasswd to generate encrypted passwords:
`echo -n 123 | makepasswd --crypt-md5 --clearfrom -` `echo -n 123 | makepasswd --crypt-md5 --clearfrom -`