Skip to content

Docker: use own keys #588

Answered by drakkan
dsuesstr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

yes this is supported, from the docs here

host_keys, list of strings. It contains the daemon's private host keys. Each host key can be defined as a path relative to the configuration directory or an absolute one. If empty, the daemon will search or try to generate id_rsa, id_ecdsa and id_ed25519 keys inside the configuration directory. If you configure absolute paths to files named id_rsa, id_ecdsa and/or id_ed25519 then SFTPGo will try to generate these keys using the default settings.

So basically you can map your own host keys as you described above and it should work

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by drakkan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants