Serve sftp: how to persist sftp host key?

I'm running rclone with
rclone serve sftp remote:/

command within a docker container. This works well, but the host key will be regenerate on each start. Is there a way to persist? Can I add some specific directory as a volume?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.