move around some more
This commit is contained in:
10
modules/services/ssh.nix
Normal file
10
modules/services/ssh.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
settings.PermitRootLogin = "no";
|
||||
settings.X11Forwarding = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user