mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Shortening text
This commit is contained in:
parent
0f6a2d17a1
commit
2a489a09bc
1 changed files with 3 additions and 10 deletions
13
README.md
13
README.md
|
@ -29,16 +29,9 @@ docker run \
|
|||
|
||||
#### 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.
|
||||
|
||||
The OpenSSH server runs by default on port 22, and in this example, we are
|
||||
forwarding the container's port 22 to the host's port 2222. To log in with an
|
||||
OpenSSH client, run: `sftp -P 2222 foo@<your-container-ip>`
|
||||
|
||||
### Multiple users and volumes
|
||||
|
||||
|
|
Loading…
Reference in a new issue