I have checked about 1004 and got:
ls -ld /
drwxrwxr-x 32 1004 1004 4096 Dec 9 23:22 /
- it is really strange.
So I ran
sudo chown root: /
ls -ld /
drwxrwxr-x 32 root root 4096 Dec 9 23:22 /
And reinstalled SSHD again:
sudo apt-get install --reinstall openssh-server
without errors:
$ systemctl status sshd.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset:
enabled)
Active: active (running) since Ср 2019-02-06 22:02:53 MSK; 51s ago
Process: 5011 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 5031 (sshd)
CGroup: /system.slice/ssh.service
└─5031 /usr/sbin/sshd -D
Feb 06 22:02:53 norbert-vaio systemd[1]: Starting OpenBSD Secure Shell server...
Feb 06 22:02:53 norbert-vaio sshd[5031]: Server listening on 0.0.0.0 port 22.
Feb 06 22:02:53 norbert-vaio sshd[5031]: Server listening on :: port 22.
Feb 06 22:02:53 norbert-vaio systemd[1]: Started OpenBSD Secure Shell server.
then rebooted.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1814586
Title:
package openssh-server 1:7.2p2-4ubuntu2.6 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1814586/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs