Dear Mr Arnold, Forgive my late response. Yesterday I returned to googling this error message. Before I had been daunted but this time I found information that solved my problem, the final suggestion on this discussion: https://askubuntu.com/questions/1109934/ssh-server-stops-working-after-reboot-caused-by-missing-var-run-sshd/1110843#1110843
Briefly, ssh-server on my system was failing to create a necessary temporary folder /var/run/sshd, because somehow I had changed ownership of the root folder, '/', from root:root to a local-user & group. Changing it back root:root fixed my system. I know exactly how this happened. I had created a script to change ownership on contents in a shared folder after root users (puppy linux) added items to it. I probably accidentally ran this from a terminal in the wrong location / instead of /mnt/somesharedfolder Returning to this bug link, it looks like it had expired even before I commented on it. I appreciate that you responded to it anyway. Is there anything I should do now, to close something I had opened, or maybe to leave a final comment explaining how it was resolved in my case? Thanks Michael On Fri, Feb 8, 2019 at 5:25 PM Seth Arnold <1713...@bugs.launchpad.net> wrote: > Hi Michael, probably "new bug report" would have been the better choice. > > See if this will show you more details: > journalctl -eu ssh > > Thanks > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1713435 > > Title: > package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in openssh package in Ubuntu: > Expired > > Bug description: > invoke-rc.d: initscript ssh, action "start" failed. > ● ssh.service - OpenBSD Secure Shell server > Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor > preset: enabled) > Active: failed (Result: exit-code) since Mon 2017-08-28 14:36:40 IST; > 9ms ago > Process: 21687 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, > status=255) > Main PID: 21687 (code=exited, status=255) > > Aug 28 14:36:40 LinuxMachine systemd[1]: Starting OpenBSD Secure Shell > server... > Aug 28 14:36:40 LinuxMachine systemd[1]: ssh.service: Main process > exited, c...a > Aug 28 14:36:40 LinuxMachine systemd[1]: Failed to start OpenBSD Secure > Shel.... > Aug 28 14:36:40 LinuxMachine systemd[1]: ssh.service: Unit entered > failed state. > Aug 28 14:36:40 LinuxMachine systemd[1]: ssh.service: Failed with result > 'ex.... > > ProblemType: Package > DistroRelease: Ubuntu 16.04 > Package: openssh-server 1:7.2p2-4ubuntu2.2 > ProcVersionSignature: Ubuntu 4.4.0-92.115-generic 4.4.76 > Uname: Linux 4.4.0-92-generic x86_64 > ApportVersion: 2.20.1-0ubuntu2.10 > Architecture: amd64 > Date: Mon Aug 28 14:36:40 2017 > ErrorMessage: subprocess installed post-installation script returned > error exit status 1 > InstallationDate: Installed on 2016-12-12 (258 days ago) > InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release > amd64 (20160720) > RelatedPackageVersions: > dpkg 1.18.4ubuntu1.2 > apt 1.2.24 > SourcePackage: openssh > Title: package openssh-server 1:7.2p2-4ubuntu2.2 failed to > install/upgrade: subprocess installed post-installation script returned > error exit status 1 > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1713435/+subscriptions > -- 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/1713435 Title: package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in openssh package in Ubuntu: Expired Bug description: invoke-rc.d: initscript ssh, action "start" failed. ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2017-08-28 14:36:40 IST; 9ms ago Process: 21687 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255) Main PID: 21687 (code=exited, status=255) Aug 28 14:36:40 LinuxMachine systemd[1]: Starting OpenBSD Secure Shell server... Aug 28 14:36:40 LinuxMachine systemd[1]: ssh.service: Main process exited, c...a Aug 28 14:36:40 LinuxMachine systemd[1]: Failed to start OpenBSD Secure Shel.... Aug 28 14:36:40 LinuxMachine systemd[1]: ssh.service: Unit entered failed state. Aug 28 14:36:40 LinuxMachine systemd[1]: ssh.service: Failed with result 'ex.... ProblemType: Package DistroRelease: Ubuntu 16.04 Package: openssh-server 1:7.2p2-4ubuntu2.2 ProcVersionSignature: Ubuntu 4.4.0-92.115-generic 4.4.76 Uname: Linux 4.4.0-92-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 Date: Mon Aug 28 14:36:40 2017 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2016-12-12 (258 days ago) InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720) RelatedPackageVersions: dpkg 1.18.4ubuntu1.2 apt 1.2.24 SourcePackage: openssh Title: package openssh-server 1:7.2p2-4ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1713435/+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