aboutsummaryrefslogtreecommitdiff
path: root/hosts/sagittarius/ssh.nix
blob: 4951f3e8ff9531ea7a9367fbc1c80a51783bbb5f (plain)
1
2
3
4
5
6
7
8
9
10
{ ... }: {
  services.openssh = {
    enable = true;
    settings = {
      PermitRootLogin = "no";
      PasswordAuthentication = false;
      AllowUsers = [ "ascella" "nongzhangren" ];
    };
  };
}