1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-04 10:35:07 +02:00
dockerfiles/sftp/README.md

35 lines
562 B
Markdown
Raw Normal View History

2020-02-12 03:54:46 +02:00
sftp
====
![](https://raw.githubusercontent.com/atmoz/sftp/master/openssh.png)
## up and running
```bash
$ 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
```
:warning: Changes to existing users are ignored.