Enable UpdateHostKeys for ssh

This fetches all new host keys when connecting to an existing host.
This allows to fetch newer keys and prevents a question if old keys no
longer exist.
This commit is contained in:
Daniel Siepmann 2023-03-15 11:03:54 +01:00
parent a65a44b98b
commit 1339777798
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -8,6 +8,12 @@ in {
enable = true;
matchBlocks = {
"*" = {
extraOptions = {
UpdateHostKeys = "yes";
};
};
"github.com" = {
user = "git";
hostname = "github.com";