I suspect that you've got a local problem with this configuration file, try reinstalling openssh-server but with some flags to force replacing the missing and changed configuration files:
sudo apt-get --yes reinstall -o Dpkg::Options::="--force-confnew" -o Dpkg::Options::="--force-confmiss openssh-server Incidentally your mongodb is very unhappy, there's 171 instances of errors like this in your logs: [571662.165758] traps: mongod[2882116] trap invalid opcode ip:65329d429c0a sp:7fff9b7a3900 error:0 in mongod[653299318000+527e000] Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2069394 Title: package openssh-server 1:8.9p1-3ubuntu0.7 failed to install/upgrade: installed openssh-server package post-installation script subprocess returned error exit status 10 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2069394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs