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

Added docs on logging into the SFTP server

This commit is contained in:
Matt 2015-02-18 18:12:37 -05:00
parent bf86e22d11
commit 5f92ecb4fc

View file

@ -27,6 +27,19 @@ docker run \
foo:123:1001
```
#### Logging in
The SFTP server runs in the container on port 22, and in this example, you are forwarding the container's port 22 to the host's port 2222.
To log into the STFP server, run
```
sftp -P 2222 foo@docker.host.tld
```
with docker.host.tld being the address (IP or domain name) of the machine running the Docker daemon.
### Multiple users and volumes
```