Fail2ban keeps annoying me when debugging ssh stuff sldkjfslkdjfs
This commit is contained in:
parent
01e4112668
commit
41e635754e
|
@ -65,7 +65,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
# By default, this will ban failed ssh attempts
|
# By default, this will ban failed ssh attempts
|
||||||
services.fail2ban.enable = true;
|
services.fail2ban.enable = lib.mkDefault true;
|
||||||
|
|
||||||
# Makes it easy to copy host keys at install time without messing up permissions
|
# Makes it easy to copy host keys at install time without messing up permissions
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
services.openssh.settings.PermitRootLogin = "yes";
|
services.openssh.settings.PermitRootLogin = "yes";
|
||||||
users.users.root.openssh.authorizedKeys.keyFiles =
|
users.users.root.openssh.authorizedKeys.keyFiles =
|
||||||
config.users.users.pilot.openssh.authorizedKeys.keyFiles;
|
config.users.users.pilot.openssh.authorizedKeys.keyFiles;
|
||||||
|
services.fail2ban.enable = false;
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue