Ssh, longer timeouts

This commit is contained in:
Julia Lange 2025-07-10 12:05:57 -07:00
parent 148cd416e9
commit 385eab27ba
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ

View file

@ -14,6 +14,8 @@
enable = true; enable = true;
ports = [ config.sshd.port ]; ports = [ config.sshd.port ];
settings = { settings = {
ClientAliveInterval = 60;
ClientAliveCountMax = 3;
PasswordAuthentication = false; PasswordAuthentication = false;
PermitRootLogin = "no"; PermitRootLogin = "no";
}; };