Public bug reported: libssh versions between 0.8 and 0.9.5 have a bug which leads to random disconnections. This bug was reported to libssh developers (https://bugs.libssh.org/T231) and fixed in stable-0.9 branch. Fix will be included with upcoming 0.9.5, unfortunately there are no time frame defined for this release.
Only Ubuntu 20 (both Focal and Groovy) is affected. Since it might take a while until 0.9.5 will be released by the upstream and issue is rather important (e.g. for monitoring tools), I suggest to backport original patch (https://bugs.libssh.org/rLIBSSH74e162c67fca502cca1213de6345db7fe8e24d05) into current version of the package (focal - 0.9.3-2ubuntu2.1, 0.9.4-1ubuntu2 - groovy). ** Affects: libssh (Ubuntu) Importance: Undecided Status: New ** Patch added: "original patch from libssh authors" https://bugs.launchpad.net/bugs/1894982/+attachment/5409009/+files/750e4f3f9d3ec879929801d65a500ec3ad84ff67.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1894982 Title: libssh 0.9.x randomly closes connection To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1894982/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs