diff --git a/nixos/common/services/openssh.nix b/nixos/common/services/openssh.nix index b2b52859..e6a7f83a 100644 --- a/nixos/common/services/openssh.nix +++ b/nixos/common/services/openssh.nix @@ -1,10 +1,10 @@ { config, pkgs, hostname, ... }: { # enable passwordless elevation # Useful for deploy-rs - security.pam.enableSSHAgentAuth = true; + # security.pam.enableSSHAgentAuth = true; security.pam.sshAgentAuth.enable = true; - # programs.ssh.startAgent = 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 = {