diff --git a/profiles/openssh.nix b/profiles/openssh.nix index 78a25a2..d437cb2 100644 --- a/profiles/openssh.nix +++ b/profiles/openssh.nix @@ -1,13 +1,14 @@ # SSH service configuration common to all hosts - -{ config, pkgs, lib, ... }: - { - + config, + pkgs, + lib, + ... +}: { services.openssh = { - enable = true; # Enable the OpenSSH daemon. + enable = true; # Enable the OpenSSH daemon. permitRootLogin = "prohibit-password"; - challengeResponseAuthentication = false; + kbdInteractiveAuthentication = false; passwordAuthentication = false; openFirewall = true; hostKeys = [ @@ -17,5 +18,4 @@ } ]; }; - }