diff --git a/README.md b/README.md index ae021ed..a8be32b 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,6 @@ OpenSSH client, run: `sftp -P 2222 foo@` ### Store users in config -``` -$ cat /host/users.conf -foo:123:1001 -bar:abc:1002 -``` - ``` docker run \ -v /host/users.conf:/etc/sftp-users.conf:ro \ @@ -62,6 +56,13 @@ docker run \ -p 2222:22 -d atmoz/sftp ``` +/host/users.conf: + +``` +foo:123:1001 +bar:abc:1002 +``` + ### Encrypted password Add `:e` behind password to mark it as encrypted. Use single quotes.