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

Even better

This commit is contained in:
Adrian Dvergsdal 2015-12-07 10:27:14 +01:00
parent 2678e042c8
commit 61b0a863e0

View file

@ -47,12 +47,6 @@ OpenSSH client, run: `sftp -P 2222 foo@<host-ip>`
### 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.