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

  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

How to Install SHOUTCast Radio Server on Linux VPS?

This tutorial will assist you to install SHOUTcast Distributed Network Audio Server (DNAS 2.0) in...

An error occurred while loading the hcpdriver module – R1Soft

R1soft CDP backup allows for full server backup and you can use it to perform the bare metal...

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 install Dotnet Core on Centos 7 ?

Dotnet Core is now available with the Linux OS. Following are the steps to install Dotnet Core on...

How to check Inode usage on my Linux Account?

Inode is a data structure that stores the information about all files created on your hosting...