catarina: restict ssh kbd interactive auth

This commit is contained in:
L-Nafaryus 2024-02-09 19:14:20 +05:00
parent 0da77d6559
commit 869c2c5978
Signed by: L-Nafaryus
GPG Key ID: 582F8B0866B294A1
3 changed files with 3 additions and 1 deletions

View File

@ -67,6 +67,7 @@
enable = true;
startWhenNeeded = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
services.udev = {

View File

@ -66,6 +66,7 @@ rec {
enable = true;
startWhenNeeded = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
services.udev = {

View File

@ -109,7 +109,7 @@
firewall = {
enable = true;
allowedTCPPorts = [ 80 443 3001 25600 ];
allowedTCPPorts = [ 80 443 3001 25600 8080 ];
};
interfaces.enp9s0.ipv4.addresses = [ {