@@ -81,6 +81,7 @@ in
|
|||||||
openFirewall = false;
|
openFirewall = false;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
services.fail2ban.enable = true;
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" "ecdsa-sha2-nistp256" ];
|
pubkeyAcceptedKeyTypes = [ "ssh-ed25519" "ssh-rsa" "ecdsa-sha2-nistp256" ];
|
||||||
hostKeyAlgorithms = [ "ssh-ed25519" "ssh-rsa" ];
|
hostKeyAlgorithms = [ "ssh-ed25519" "ssh-rsa" ];
|
||||||
|
Reference in New Issue
Block a user