mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Pretty linebreaks
This commit is contained in:
parent
c8541d6d67
commit
a6c2b1b404
1 changed files with 3 additions and 3 deletions
|
@ -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 -`
|
||||||
|
|
Loading…
Reference in a new issue