Ssh, longer timeouts
This commit is contained in:
parent
148cd416e9
commit
385eab27ba
1 changed files with 2 additions and 0 deletions
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue