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:
parent
a65a44b98b
commit
1339777798
|
@ -8,6 +8,12 @@ in {
|
|||
enable = true;
|
||||
matchBlocks = {
|
||||
|
||||
"*" = {
|
||||
extraOptions = {
|
||||
UpdateHostKeys = "yes";
|
||||
};
|
||||
};
|
||||
|
||||
"github.com" = {
|
||||
user = "git";
|
||||
hostname = "github.com";
|
||||
|
|
Loading…
Reference in a new issue