1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/sftp/README.md

35 lines
562 B
Markdown
Raw Normal View History

2020-02-12 01:54:46 +00: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.