Tweak ssh settings for flakey networks / hosts

This commit is contained in:
Craige McWhirter 2021-02-11 10:37:02 +10:00
parent bd71eb8895
commit 928d3e2b1c
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -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