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