Hello jerryd, Thanks for taking the time to file the bug and making Ubuntu server better.
Seeing from the logs that you posted, I can see: "Not replacing deleted config file /etc/ssh/sshd_config" ...which essentially means that you might have tried to remove the /etc/ssh/sshd_config manually and thus it fails to re-install properly. For this issue you can do the following to fix this back: $ apt purge openssh-server $ apt install openssh-server This should fix everything and the installation should go fine. Furthermore, I also tried to install openssh-server in a Groovy container and the installation went fine! Since this is not really a bug in the package and more of a local issue, I am marking this as "Invalid", but should you feel that it's really a bug in the package, please let us know why and provide more details and set the status to "New" again. Once you do, we'll pick this up again and we can work out something together. Thanks, again! ** Changed in: openssh (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1924597 Title: package openssh-server 1:8.3p1-1ubuntu0.1 failed to install/upgrade: podproces zainstalowany pakiet openssh-server skrypt post-installation zwrócił kod błędu 1 Status in openssh package in Ubuntu: Invalid Bug description: that happen when i try to install ssh ProblemType: Package DistroRelease: Ubuntu 20.10 Package: openssh-server 1:8.3p1-1ubuntu0.1 ProcVersionSignature: Ubuntu 5.8.0-49.55-generic 5.8.18 Uname: Linux 5.8.0-49-generic x86_64 ApportVersion: 2.20.11-0ubuntu50.5 AptOrdering: ncurses-term:amd64: Install openssh-sftp-server:amd64: Install openssh-server:amd64: Install ssh-import-id:amd64: Install NULL: ConfigurePending Architecture: amd64 CasperMD5CheckResult: skip Date: Thu Apr 15 19:12:21 2021 ErrorMessage: podproces zainstalowany pakiet openssh-server skrypt post-installation zwrócił kod błędu 1 InstallationDate: Installed on 2021-04-15 (0 days ago) InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022) Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1 PythonDetails: N/A RebootRequiredPkgs: gnome-shell RelatedPackageVersions: dpkg 1.20.5ubuntu2 apt 2.1.10ubuntu0.3 SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code 1: /etc/ssh/sshd_config: No such file or directory SourcePackage: openssh Title: package openssh-server 1:8.3p1-1ubuntu0.1 failed to install/upgrade: podproces zainstalowany pakiet openssh-server skrypt post-installation zwrócił kod błędu 1 UpgradeStatus: No upgrade log present (probably fresh install) modified.conffile..etc.ssh.moduli: [deleted] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1924597/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp