SSH on kernighan
This commit is contained in:
parent
850cbe95d4
commit
21b9cfbfc5
|
@ -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 = [
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 2222 ];
|
||||
settings.PasswordAuthentication = false;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue