mirror of
https://github.com/atmoz/sftp.git
synced 2025-03-09 15:16:00 -04:00
code block
This commit is contained in:
parent
c18de0964e
commit
f6891135dd
1 changed files with 2 additions and 2 deletions
|
@ -136,9 +136,9 @@ ssh-keygen -t rsa -b 4096 -f ssh_host_rsa_key < /dev/null
|
||||||
```
|
```
|
||||||
|
|
||||||
Test it with:
|
Test it with:
|
||||||
|
```
|
||||||
sftp -P 2222 -i <host-dir>/ssh_host_ed25519_key -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null foo@localhost
|
sftp -P 2222 -i <host-dir>/ssh_host_ed25519_key -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null foo@localhost
|
||||||
|
```
|
||||||
## Execute custom scripts or applications
|
## Execute custom scripts or applications
|
||||||
|
|
||||||
Put your programs in `/etc/sftp.d/` and it will automatically run when the container starts.
|
Put your programs in `/etc/sftp.d/` and it will automatically run when the container starts.
|
||||||
|
|
Loading…
Add table
Reference in a new issue