Files
dotfiles/modules/core/ssh.nix
T
2025-10-31 22:56:27 +09:00

16 lines
265 B
Nix

{ pkgs, ... }:
{
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PubkeyAuthentication = "yes";
};
};
}