Skip to content

Conversation

@cw-cdz
Copy link

@cw-cdz cw-cdz commented Jun 8, 2025

Add option to persist SSH host keys across container updates

Problem: Container updates cause "REMOTE HOST IDENTIFICATION HAS CHANGED" errors.

Solution: New optional setting persist_ssh_host_keys (defaults to false).

When enabled, SSH host keys are stored in persistent storage instead of being regenerated on each container start. This eliminates connection errors due to known_hosts file after add-on updates.

Usage:

persist_ssh_host_keys: true

Maintains backward compatibility - existing installations continue working unchanged.

(also updated link on config.yaml master -> main)

Adds a new boolean option, `persist_ssh_host_keys`, to allow users to persist SSH host keys in the /data directory and that secure permissions are set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant