Update port in ssh config file
This commit is contained in:
parent
0e5c375312
commit
6f3b12de82
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue