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

update readme with correct path for conf file

This commit is contained in:
MATHONAT Romain 2017-09-07 10:25:10 +02:00 committed by GitHub
parent d0d27520a1
commit 9cd89f3f50

View file

@ -18,7 +18,7 @@ This is an automated build linked with the [debian](https://hub.docker.com/_/deb
# Usage
- Required: define users as command arguments, STDIN or mounted in `/etc/sftp/users.conf`
- Required: define users as command arguments, STDIN or mounted in `/etc/sftp-users.conf`
(syntax: `user:pass[:e][:uid[:gid[:dir1[,dir2]...]]]...`).
- Set UID/GID manually for your users if you want them to make changes to
your mounted volumes with permissions matching your host filesystem.
@ -80,7 +80,7 @@ OpenSSH client, run: `sftp -P 2222 foo@<host-ip>`
```
docker run \
-v /host/users.conf:/etc/sftp/users.conf:ro \
-v /host/users.conf:/etc/sftp-users.conf:ro \
-v mySftpVolume:/home \
-v /host/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key \
-v /host/ssh_host_rsa_key.pub:/etc/ssh/ssh_host_rsa_key.pub \