Fix :: SSH Error: Starting sshd: Missing privilege separation directory: /var/empty/sshd

Problem Statement


Could not connect to Linux machine through SSH.

Error Message


While starting the service, it will look for the symlink (softlink) to the 'localtime' and if it is unable to find then will result in the following error message.

Starting sshd: Missing privilege separation directory: /var/empty/sshd

Solution


We had accessed this Linux machine from console and fired following commands to fix this issue.

mkdir /var/empty/sshd/etc
cd /var/empty/sshd/etc
ln -s /etc/localtime localtime

  • 2 Users Found This Useful

Was this answer helpful?

Related Articles

How to transfer cPanel accounts from Shared Hosting to VPS/Dedicated Server manually?

cPanel facilitates you to restore full cPanel account along with websites, email accounts, MySQL...

Do You Provide TUN/TAP On VPS Hosting?

Typically, TUN/TAP is used when you want to utilize VPN services from your VPS. Windows VPS...

How Do I Check Bandwidth Utilization of VPS?

Windows VPS To check/monitor usage of each Windows VPS, we have installed bandwidth meter tool...

How To Install PIP in Linux?

PIP called a Package management system for Python. It allows your system to install and manage...

HOW TO INSTALL NEXTCLOUD ON UBUNTU?

Nextcloud is an open-source and secure PHP-based content collaboration platform. It is used for...