For some reason when I use OpenSSH_7.9p1, OpenSSL 1.1.1d 10 Sep 2019
I can’t ssh into any hosts. I always get ssh packet_write_wait: Connection to <host> port: Broken pipe
. However, if I downgrade my version of ssh with nix-env -f https://github.com/NixOS/nixpkgs/archive/18.09.tar.gz -iA openssh
it works.
I’m hoping someone has an idea of how to start debugging this.
I opened a ticket about this a year ago, but I think it got drowned out by other issues at the time. issue 61632
My fix at the time was to override the openssh version in my configuration.nix.
nixpkgs.config = {
packageOverrides = pkgs: {
openssh = (import tarball-1809 {}).openssh;
};
};
However, this means I need to build a number of packages myself, including Firefox, which means upgrades take around 8 hours to build. I’ve dealt with this by simply not upgrading as often or at all, but that is not a real solution.