Tweak ssh settings for flakey networks / hosts
This commit is contained in:
parent
bd71eb8895
commit
928d3e2b1c
|
@ -125,7 +125,7 @@
|
|||
texlive.combined.scheme-full
|
||||
tmate # Instant Terminal Sharing
|
||||
tpm-tools
|
||||
tor-browser-bundle-bin
|
||||
#tor-browser-bundle-bin
|
||||
tree # Command to produce a depth indented directory listing
|
||||
udevil
|
||||
unrar
|
||||
|
@ -200,6 +200,14 @@
|
|||
opengl.enable = true;
|
||||
};
|
||||
|
||||
# The below pair are set to overcome flakey connections / busy servers that
|
||||
# fail to respond to ssh keep alive requests, sometimes triggering:
|
||||
# client_loop: send disconnect: Broken pipe
|
||||
programs.ssh.extraConfig = ''
|
||||
ServerAliveInterval 20
|
||||
TCPKeepAlive no
|
||||
'';
|
||||
|
||||
# This value determines the NixOS release with which your system is to be
|
||||
# compatible, in order to avoid breaking some software such as database
|
||||
# servers. You should change this only after NixOS release notes say you
|
||||
|
|
Loading…
Reference in a new issue