fix: Fixed ssh config to include Identity file for server
This commit is contained in:
parent
a9ac04717b
commit
7bdb3b6775
|
@ -44,7 +44,7 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ
|
|||
enable = true;
|
||||
matchBlocks =
|
||||
let
|
||||
identityFile = [ "~/.ssh/1" "~/.ssh/2" ];
|
||||
identityFile = [ "~/.ssh/1.pub" "~/.ssh/2.pub" ];
|
||||
in
|
||||
{
|
||||
"elisabeth" = {
|
||||
|
@ -62,6 +62,9 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHxD4GOrwrBTG4/qQhm5hoSB2CP7W9g1LPWP11oLGOjQ
|
|||
user = "patrick";
|
||||
inherit identityFile;
|
||||
};
|
||||
"*.lel.lol" = {
|
||||
inherit identityFile;
|
||||
};
|
||||
"*" = {
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue