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

  • 0 Users Found This Useful

Was this answer helpful?


Related Articles

Can I open APN port 2195 on my VPS?

You will get full administrative control of your VPS, therefore you can surely open/close any...

How to deploy Mean.js application to VPS?

Upload Mean.js Files via SFTP In FileZilla Once your mean.js webcontent is ready, you need to...

How to Upgrade PHP Version in cPanel/WHM Server?

Following article will assist you to upgrade PHP version in cPanel/WHM server. This article is...

How could I find which ports are opened on my hosted site?

If your website is hosted on a shared hosting, you will have to contact us to check whether a...

How to install Mongodb in CentOS?

MongoDB is a Free and open-source cross-platform document-oriented database program. Classified...