aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional/services/openssh.nix
blob: 08ff33eb38a7d94e7f8dced8286710de8539db15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, ... }:
{
  programs.ssh.package = pkgs.openssh_10_2;

  services.openssh = {
    enable = true;
    settings = {
      KbdInteractiveAuthentication = false;
      PasswordAuthentication = false;
      PermitRootLogin = "yes";
    };
  };
}