Open roberth opened 3 years ago
This will let NixOps provide the host keys directly to the ssh client, regardless of whether they've been saved to user dotfiles.
It solves a problem where the host keys were not known on systems that retrieve the state from a remote state provider.
See https://github.com/NixOS/nixops/pull/1464
I haven't tested this yet. It can be tested by removing entries from ~/.ssh/known_hosts and then calling nixops ssh. It should still recognize the host key, as it is stored in the nixops state.
~/.ssh/known_hosts
nixops ssh
This will let NixOps provide the host keys directly to the ssh client, regardless of whether they've been saved to user dotfiles.
It solves a problem where the host keys were not known on systems that retrieve the state from a remote state provider.
See https://github.com/NixOS/nixops/pull/1464
I haven't tested this yet. It can be tested by removing entries from
~/.ssh/known_hosts
and then callingnixops ssh
. It should still recognize the host key, as it is stored in the nixops state.