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

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