Commit 52b8a3a9c65b
Changed files (1)
home
common
shell
home/common/shell/openssh.nix
@@ -154,6 +154,7 @@ in
};
"192.168.1.*" = {
forwardAgent = true;
+ identitiesOnly = true;
identityFile = lib.mkIf hasFido2Keys "~/.ssh/id_homelab_sk";
extraOptions = {
StrictHostKeyChecking = "no";
@@ -162,6 +163,7 @@ in
};
"10.100.0.*" = {
forwardAgent = true;
+ identitiesOnly = true;
identityFile = lib.mkIf hasFido2Keys "~/.ssh/id_homelab_sk";
};
}