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.
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 system/ ssh.service; enabled; vendor preset: enabled) /usr/sbin/ sshd -t (code=exited, status=0/SUCCESS) slice/ssh. service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Active: active (running) since Ср 2019-02-06 22:02:53 MSK; 51s ago
Process: 5011 ExecStartPre=
Main PID: 5031 (sshd)
CGroup: /system.
└─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.