Latest blog entry

Starting sshd: Privilege separation user does not exist

April 5, 2010    |   Posted by admin   |    Category: Linux Administration

The error message “Starting sshd: Privilege separation user sshd does not exist FAILED” is received on restarting the SSHD service. It indicates that the user ‘sshd’ does not exist. To fix the add the ‘sshd’ user on the server.

If it’s a VPS, your hosting provider can login through the main server and fix it. If it’s a dedicated server, you have to add the user via single user mode unless you were already logged in before the problem occurred.

Add the following to the /etc/passwd file

sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

add the below line to /etc/group file

sshd:x:74:

Restart the sshd service.

# /etc/init.d/sshd restart
 Stopping sshd: [ OK ]
 Starting sshd: [ OK ]

An alternate solution is to disable UsePrivilegeSeparation in the SSHD configuration. Edit the file /etc/ssh/sshd_config and change

UsePrivilegeSeparation yes
to
UsePrivilegeSeparation no

It is less secure but just another option.

Comments Off on Starting sshd: Privilege separation user does not exist