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

Related Articles

How to parse PHP in html files?

Are you looking to make all the .html pages of your websites to run as .php or you are looking to...

How to run ClamAV and Maldet together on cPanel server?

You may be familiar with ClamAV and Maldet scanner (aka Linux Malware Detect). They're widely...

How to fix - Apache Error: No matching DirectoryIndex?

You may face the below error while accessing applications that have index files other than...

How to Install Jenkins on CentOS 7?

Jenkins is an opensource and free tool for developers to develop, test and deploy the code...

How to setup Database Map tool from WHM Panel?

cPanel provide a feature called Database Map tool. You can provide ownership of databases and...

  • 2 Users Found This Useful

Was this answer helpful?