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

Can I purchase additional RAM, Disk space and Bandwidth for VPS?

Yes, you can purchase additional RAM(Our RAM Recommendation), DiskSpace, Bandwidth and vCPU...

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 Install NodeBB on a CentOS VPS?

NodeBB is an open source and powerful forum software based on the Node.js. It is very easy to...

How to sync time using NTP in Ubuntu server?

Linux server users might have noticed that after adjusting the system clock to the correct time,...

How to use gzip in Linux?

Linux has many commands line tools to compress/decompress files and gzip is one of them. In this...

  • 2 Users Found This Useful

Was this answer helpful?