diff --git a/nixos/common/services/openssh.nix b/nixos/common/services/openssh.nix index a17d5e5d..b2b52859 100644 --- a/nixos/common/services/openssh.nix +++ b/nixos/common/services/openssh.nix @@ -2,7 +2,9 @@ # enable passwordless elevation # Useful for deploy-rs security.pam.enableSSHAgentAuth = true; - programs.ssh.startAgent = true; + security.pam.sshAgentAuth.enable = true; + # programs.ssh.startAgent = true; + # By default no ports are open. # When ./tailscale.nix is imported, port 22 on the tailscale interface is then opened. services.openssh = {