Move ssh port

This commit is contained in:
♥ Minnie ♥ 2024-06-06 20:34:19 +08:00
parent e12564358d
commit f183eee3ac
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@
matchBlocks."viridian" = { matchBlocks."viridian" = {
hostname = "192.168.1.102"; hostname = "192.168.1.102";
identityFile = "/home/sajenim/.ssh/sajenim_sk"; identityFile = "/home/sajenim/.ssh/sajenim_sk";
port = 62841;
}; };
}; };
} }

View file

@ -6,7 +6,9 @@
settings = { settings = {
PermitRootLogin = "no"; PermitRootLogin = "no";
PasswordAuthentication = false; PasswordAuthentication = false;
AllowUsers = [ "sajenim" ];
}; };
ports = [ 62841 ];
openFirewall = true; openFirewall = true;
}; };
} }