Update port in ssh config file

This commit is contained in:
Evie Litherland-Smith 2023-05-16 11:48:52 +01:00
parent 0e5c375312
commit 6f3b12de82

View file

@ -3,7 +3,7 @@
imports = [ ./common.nix ]; imports = [ ./common.nix ];
programs.ssh.matchBlocks = { programs.ssh.matchBlocks = {
"legion" = { port = 30; }; "legion" = { port = 30; };
"vanguard" = { hostname = "192.168.1.166"; port = 22; }; "vanguard" = { hostname = "192.168.1.166"; port = 2222; };
"legion vanguard" = lib.hm.dag.entryAfter [ "legion" "vanguard" ] { "legion vanguard" = lib.hm.dag.entryAfter [ "legion" "vanguard" ] {
user = "root"; user = "root";
forwardAgent = true; forwardAgent = true;