1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00
dockerfiles/sftp
2020-02-12 09:54:46 +08:00
..
data add sftp 2020-02-12 09:54:46 +08:00
docker-compose.yml add sftp 2020-02-12 09:54:46 +08:00
README.md add sftp 2020-02-12 09:54:46 +08:00

sftp

up and running

$ chown root:root data

$ docker-compose up -d

$ sftp -P 2222 foo@localhost
foo@localhost's password: ******
Connected to foo@localhost.
>>> version
SFTP protocol version 3
>>> ls
upload
>>> put README.md upload
Uploading README.md to /upload/README.md
>>> bye

$ tree data
data
├── bar
├── baz
├── foo
│   └── upload
│       └── README.md
└── users.conf

⚠️ Changes to existing users are ignored.