{"id":314,"date":"2011-11-17T23:31:31","date_gmt":"2011-11-17T23:31:31","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=314"},"modified":"2011-11-17T23:54:52","modified_gmt":"2011-11-17T23:54:52","slug":"enable-root-login-ubuntu-8","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=314","title":{"rendered":"Enable Root Login Ubuntu 8"},"content":{"rendered":"<p>I needed to enable root ssh login on an Ubuntu (VM) server.  Yes I know it&#8217;s a security risk, blah, blah, blah, this is a temporary setup so I can clone a VM.  I googled around and everything said to simply set the root password and make sure to have &#8220;PermitRootLogin yes&#8221; in sshd_config.  But try as I might, after making those changes and restarting ssh, I just could not log in.  I tried rebooting the server and still no dice.  Googling indicated others had been in this predicament, but no solution could be found&#8230;.<br \/>\nFinally, I re-installed openssh-server with &#8220;apt-get install openssh-server&#8221; and then bingo it worked.<\/p>\n<p>Posting this here so that next time it happens and I am saying to myself, &#8220;what the heck did i do last time this happened?&#8221;, I can find this and remember!<\/p>\n<p>Edit: Upon further investigation, it seems that Ubuntu&#8217;s default ssh server configuration is in here:<br \/>\n\/usr\/etc\/sshd_config<br \/>\nrather than the one found in \/etc\/sshd_config that we&#8217;re used to seeing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I needed to enable root ssh login on an Ubuntu (VM) server. Yes I know it&#8217;s a security risk, blah, blah, blah, this is a temporary setup so I can clone a VM. I googled around and everything said to &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=314\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/314"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=314"}],"version-history":[{"count":5,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":337,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/314\/revisions\/337"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}