From 61b0a863e0051fa61ea4fdaaed81b248be5563da Mon Sep 17 00:00:00 2001 From: Adrian Dvergsdal Date: Mon, 7 Dec 2015 10:27:14 +0100 Subject: [PATCH] Even better --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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.