catarina: restict ssh kbd interactive auth
This commit is contained in:
parent
0da77d6559
commit
869c2c5978
@ -67,6 +67,7 @@
|
||||
enable = true;
|
||||
startWhenNeeded = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
};
|
||||
|
||||
services.udev = {
|
||||
|
@ -66,6 +66,7 @@ rec {
|
||||
enable = true;
|
||||
startWhenNeeded = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
};
|
||||
|
||||
services.udev = {
|
||||
|
@ -109,7 +109,7 @@
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 3001 25600 ];
|
||||
allowedTCPPorts = [ 80 443 3001 25600 8080 ];
|
||||
};
|
||||
|
||||
interfaces.enp9s0.ipv4.addresses = [ {
|
||||
|
Loading…
Reference in New Issue
Block a user