SSH on kernighan

This commit is contained in:
Trevor Vallender 2023-07-07 19:42:18 +01:00
parent 850cbe95d4
commit 21b9cfbfc5
2 changed files with 8 additions and 2 deletions

View File

@ -20,8 +20,13 @@ in
../shared/filesystem.nix
];
networking.hostName = "ritchie";
networking = {
hostName = "ritchie";
firewall = {
enable = true;
allowedTCPPorts = [ 2222 ];
};
};
users.users.foxsoft = {
isNormalUser = true;
extraGroups = [

View File

@ -61,6 +61,7 @@
services.openssh = {
enable = true;
ports = [ 2222 ];
settings.PasswordAuthentication = false;
};