{"id":609,"date":"2010-04-05T14:34:36","date_gmt":"2010-04-05T18:34:36","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=609"},"modified":"2013-03-20T08:42:49","modified_gmt":"2013-03-20T12:42:49","slug":"starting-sshd-privilege-separation-user-does-not-exist","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/starting-sshd-privilege-separation-user-does-not-exist","title":{"rendered":"Starting sshd: Privilege separation user does not exist"},"content":{"rendered":"<p>The error message <strong>\u201cStarting sshd: Privilege separation user sshd does not exist FAILED\u201d<\/strong> is received on restarting the SSHD service. It indicates that the user \u2018sshd\u2019 does not exist. To fix the add the \u2018sshd\u2019 user on the server.<\/p>\n<p>If it&#8217;s a VPS, your hosting provider can login through the main server and fix it. If it&#8217;s a dedicated server, you have to add the user via single user mode unless you were already logged in before the problem occurred.<\/p>\n<p>Add the following to the \/etc\/passwd file<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">sshd:x:74:74:Privilege-separated SSH:\/var\/empty\/sshd:\/sbin\/nologin<\/span><\/pre>\n<\/blockquote>\n<p>add the below line to \/etc\/group file<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">sshd:x:74:<\/span><\/pre>\n<\/blockquote>\n<p>Restart the sshd service.<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># \/etc\/init.d\/sshd restart<\/span>\r\n Stopping sshd: [ OK ]\r\n Starting sshd: [ OK ]<\/pre>\n<\/blockquote>\n<p>An alternate solution is to disable <strong>UsePrivilegeSeparation<\/strong> in the SSHD configuration. Edit the file \/etc\/ssh\/sshd_config and change<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\">UsePrivilegeSeparation yes<\/span>\r\n<span style=\"color: #0000ff;\">to<\/span>\r\n<span style=\"color: #0000ff;\">UsePrivilegeSeparation no<\/span><\/pre>\n<\/blockquote>\n<p>It is less secure but just another option.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The error message \u201cStarting sshd: Privilege separation user sshd does not exist FAILED\u201d is received on restarting the SSHD service. It indicates that the user \u2018sshd\u2019 does not exist. To fix the add the \u2018sshd\u2019 user on the server.<br \/>\nIf it&#8217;s a VPS, your hosting provider can login through the main server and fix it. If it&#8217;s a dedicated server, you have to add the user via single user mode unless you were already logged in before the problem occurred.<br \/>\nAdd the following to the \/etc\/passwd file<\/p>\n<p>sshd:x:74:74:Privilege-separated SSH:\/var\/empty\/sshd:\/sbin\/nologin<\/p>\n<p>add the below [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[793,790,791,794,789,792],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/609"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=609"}],"version-history":[{"count":9,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/609\/revisions"}],"predecessor-version":[{"id":2213,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/609\/revisions\/2213"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}