Hi!
We’ve ran into a pretty disturbing incident that during BigFix patching on several of our Ubuntu servers the openssh server package got simply removed, remote ssh access became impossible. According to the apt history log it seems with the update of the openssh-client package, the openssh-server package got removed and not updated as it should have been. And then the server was left like this. This looks really bad to be honest.
dpkg lists the server package as removed:
rc openssh-server 1:7.6p1-4ubuntu0.3 amd64 secure shell (SSH) server,
/var/log/apt/history.log shows the cause:
Start-Date: 2022-02-19 03:00:43
Commandline: apt-get -qqy install openssh-client=1:7.6p1-4ubuntu0.5
Upgrade: openssh-client:amd64 (1:7.6p1-4ubuntu0.3, 1:7.6p1-4ubuntu0.5)
Remove: openssh-sftp-server:amd64 (1:7.6p1-4ubuntu0.3), openssh-server:amd64 (1:7.6p1-4ubuntu0.3)
End-Date: 2022-02-19 03:00:48
Did anyone else experience such issue, is there any way to prevent such removals instead of upgrades from happening again?
Thanks,
Balazs