• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Missing privilege separation directory: /var/run/sshd

Jasper

New Pleskian
I've got a VPS running Ubuntu 16.04 LTS with Plesk (Web Pro Edition) 17.8.11 Update #31, as provided by my host. After rebooting the system yesterday from within the web panel, I was unable to connect to the VPS using SSH. Connecting to the web panel resulted in an error 500, which was resolved by restarting the VPS once again. I then looked at the firewall settings, figuring they must have changed for some reason, but found that the SSH port was set to open.

Investigating the issue further, I managed to find the error listed in the title; "Missing privilege separation directory: /var/run/sshd". When looking in the /etc/init/ssh.conf file, it is set to create the directory and give the appropriate permissions. When looking in the /etc/init.d/ssh file, the check_privsep_dir() method clearly checks if the directory exists, and creates it if it doesn't.

I managed to "solve" the issue by adding the following cronjob:
@Reboot mkdir -p -m0755 /var/run/sshd && systemctl restart sshd.service

I don't find the solution particularly elegant, but it does the job for now... Could anyone tell me how this issue might happen, and how I could fix this without having additional cronjobs running?
 
Back
Top