Can't login after openssh 9.8p1-1 upgrade, MUST restart sshd
Description:
After upgrading openssh, the service seems broken. sshd immediatly closes the connection and logs:
sshd: -R not supported here
The client just sees:
kex_exchange_identification: read: Connection reset by peer
This is fixed by restarting sshd, but for remote systems this MUST be done in the same session where the upgrade took place, otherwise you'll be locked out.
It'd probably be good to add a post_upgrade warning about this.
Additional info:
- package version(s): openssh 9.8p1-1
- config and/or log files: sshd: -R not supported here
- link to upstream bug report, if any: could not spot the change causing this in ChangeLog
Steps to reproduce:
- Upgrade openssh to 9.8p1-1 with sshd running (keep session open)
- Try to login => connection reset by peer
- Restart sshd
- Try to login => works again