Skip to content

Jail changing SSH host keys on restart #39

@renatomassaro

Description

@renatomassaro

This is some odd behavior where SSH host keys are being regenerated after every reboot (I'm not 100% sure it's due to a jail restart, but it seems related).

If this keeps happening, we'll probably have to store each key as a secret in the repository, and copy it whenever the jail is provisioned, with some rc.local script that ensures the SSH keys are always identical to the ones on the repo.

In fact, having a fixed pool of SSH keys almost solves #35, but I'd rather have it dynamically, without "exposing" the host keys. Plus on a dynamic setup it's one less config/key to create/generate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions