mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-24 12:59:24 -05:00
Added docs on logging into the SFTP server
This commit is contained in:
parent
bf86e22d11
commit
5f92ecb4fc
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -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
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue