Update ssh config to reflect new port config
This commit is contained in:
parent
320d76f972
commit
5941740ee4
|
@ -6,5 +6,6 @@
|
|||
serverAliveCountMax = 3;
|
||||
controlMaster = "auto";
|
||||
controlPersist = "1s";
|
||||
matchBlocks."git*".user = "git";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
{lib, ...}: {
|
||||
imports = [./common.nix];
|
||||
programs.ssh.matchBlocks = {
|
||||
"vanguard" = {user = "xenia";};
|
||||
"git.xenia.me.uk" = {user = "gitea";};
|
||||
"vanguard *xenia.me.uk" = lib.hm.dag.entryAfter ["vanguard" "git.xenia.me.uk"] {
|
||||
"vanguard" = {
|
||||
user = "xenia";
|
||||
hostname = "192.168.1.166";
|
||||
};
|
||||
"git.xenia.me.uk" = lib.hm.dag.entryBefore ["git*"] {
|
||||
user = "gitea";
|
||||
port = 2222;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue