FS#65386 - [glibc] 2.31-1 breaks openssh 8.1p1-2 ("Connection closed by $server port 22")
Attached to Project:
Arch Linux
Opened by Pascal Ernster (hardfalcon) - Wednesday, 05 February 2020, 12:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 05 February 2020, 13:55 GMT
Opened by Pascal Ernster (hardfalcon) - Wednesday, 05 February 2020, 12:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Wednesday, 05 February 2020, 13:55 GMT
|
Details
After upgrading to glibc 2.31-1, I can't log into the
OpenSSH sshd server on that machine anymore (connecting to
remote SSH servers running other distros/glibc versions
still works).
Upon trying to connect, I simply get the message "Connection closed by ::1 port 22". Downgrading glibc again fixes the problem. I have also tried rebuilding the openssh package using the "testing-x86_64-build -c" command from the devtools package, but the rebuilt openssh package shows exactly the same behaviour/error. Since this breaks sshd and not just the local ssh client, I consider this a critical issue, since it locks people out of remote machines to which they might not have physical access in order to downgrade glibc or fix the problem in some other way. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Wednesday, 05 February 2020, 13:55 GMT
Reason for closing: Fixed
Additional comments about closing: openssh 8.1p1-3
Wednesday, 05 February 2020, 13:55 GMT
Reason for closing: Fixed
Additional comments about closing: openssh 8.1p1-3
https://github.com/openssh/openssh-portable/commit/beee0ef61866cb567b9abc23bd850f922e59e3f0
https://github.com/openssh/openssh-portable/commit/69298ebfc2c066acee5d187eac8ce9f38c796630
My advice would still be to just take all the commits that upstream have committed into their V_8_1 branch, and not just the two above:
https://github.com/openssh/openssh-portable/compare/V_8_1_P1...V_8_1
To get those changes as a ready-made patch file:
https://github.com/openssh/openssh-portable/compare/V_8_1_P1...V_8_1.patch
To get the above combined patch file up to a defined commit (so the patch file and its checksum don't change each time upstream commit a new change into their V_8_1 branch):
https://github.com/openssh/openssh-portable/compare/V_8_1_P1...fbe37c90602fa2d0d7b5f05868d6886b1e216e65.patch