mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-24 12:59:24 -05:00
Update README.md
Note requirement to generate SSH host keys without a passphrase so container can load them correctly
This commit is contained in:
parent
bd437a09cb
commit
69e6e94ca1
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ ssh-keygen -t ed25519 -f ssh_host_ed25519_key < /dev/null
|
|||
ssh-keygen -t rsa -b 4096 -f ssh_host_rsa_key < /dev/null
|
||||
```
|
||||
|
||||
Be sure to generate keys with no passphrase, or they will not be loaded properly when the container starts.
|
||||
|
||||
## Execute custom scripts or applications
|
||||
|
||||
Put your programs in `/etc/sftp.d/` and it will automatically run when the container starts.
|
||||
|
|
Loading…
Reference in a new issue