1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/sftp/README.md
2020-02-12 09:54:46 +08:00

562 B

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.