0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -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:
lepermunna 2020-04-05 21:24:52 +10:00 committed by GitHub
parent bd437a09cb
commit 69e6e94ca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.