{"id":167,"date":"2015-08-31T17:22:00","date_gmt":"2015-08-31T22:22:00","guid":{"rendered":"http:\/\/carminebufano.com\/?p=167"},"modified":"2022-03-24T17:08:37","modified_gmt":"2022-03-24T22:08:37","slug":"allow-root-access-via-ssh-in-ubuntu-14-xx","status":"publish","type":"post","link":"https:\/\/carminebufano.com\/index.php\/2015\/08\/31\/allow-root-access-via-ssh-in-ubuntu-14-xx\/","title":{"rendered":"Allow root access via ssh in Ubuntu 14.xx"},"content":{"rendered":"<p>Have you tried to log into a cloud instance of Ubuntu server recently as root using a ssh key? Hmm.. so you see,<\/p>\n<p>Please login as &#8220;ubuntu&#8221; user rather than root.<\/p>\n<p>Try this:<\/p>\n<p><span style=\"color: #2f2f2f\"><pre class=\"\"><\/span>sudo cp \/home\/ubuntu\/.ssh\/authorized_keys \/root\/.ssh\/<span style=\"color: #2f2f2f\"><\/pre><\/span><\/p>\n<p><span style=\"color: #2f2f2f\"><pre class=\"\"><\/span>nano \/etc\/ssh\/sshd_config<span style=\"color: #2f2f2f\"><\/pre><\/span><\/p>\n<p>reboot the server or restart sshd services.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you tried to log into a cloud instance of Ubuntu server recently as root using a ssh key? Hmm.. so you see, Please login as &#8220;ubuntu&#8221; user rather than root. Try this: reboot the server or restart sshd services.&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[11,15],"tags":[18,26,34,35,39,42,45,47],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-walkthroughs","tag-as","tag-login","tag-please","tag-please-login-as-ubuntu-rather-than-root","tag-rather","tag-root","tag-than","tag-ubuntu-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":428,"url":"https:\/\/carminebufano.com\/index.php\/2021\/01\/30\/install-virtual-box-on-ubuntu-16-04-on-a-digitalocean-droplet\/","url_meta":{"origin":167,"position":0},"title":"How to Install Oracle Virtual Box on Ubuntu 16.04 on a DigitalOcean Droplet","author":"Carmine Bufano","date":"January 30, 2021","format":false,"excerpt":"I wanted to circumvent my residential FIOS with my one dynamic public ip in my home lab without upgrading to a commercial account with Verizon. Right now I'm enjoying 1Gig up and down. One look at commercial prices and its a small fortune for static ip's and the same residential\u2026","rel":"","context":"In &quot;openvswitch&quot;","block_context":{"text":"openvswitch","link":"https:\/\/carminebufano.com\/index.php\/category\/openvswitch\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":283,"url":"https:\/\/carminebufano.com\/index.php\/2017\/12\/26\/digital-ocean-how-to-download-a-copy-or-snapshot-of-your-droplet-or-vm-locally-and-run-it-on-your-own-server\/","url_meta":{"origin":167,"position":1},"title":"Digital Ocean How to download a copy or snapshot of your droplet or vm locally and run it on your own server","author":"Carmine Bufano","date":"December 26, 2017","format":false,"excerpt":"","rel":"","context":"In &quot;Announcements&quot;","block_context":{"text":"Announcements","link":"https:\/\/carminebufano.com\/index.php\/category\/announcements\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":251,"url":"https:\/\/carminebufano.com\/index.php\/2014\/08\/25\/how-to-configure-many-web-servers-behind-one-public-ip\/","url_meta":{"origin":167,"position":2},"title":"How to self host many web servers with different domains &#038; URLs with one public IP","author":"Carmine Bufano","date":"August 25, 2014","format":false,"excerpt":"","rel":"","context":"In &quot;Ubuntu&quot;","block_context":{"text":"Ubuntu","link":"https:\/\/carminebufano.com\/index.php\/category\/ubuntu\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/carminebufano.com\/wp-content\/uploads\/2014\/08\/Pound-Proxy.vsdx_.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":636,"url":"https:\/\/carminebufano.com\/index.php\/2024\/01\/20\/how-to-start-or-reboot-your-dell-server-with-idrac-from-the-command-line-cli\/","url_meta":{"origin":167,"position":3},"title":"How to Start or Reboot your Dell Server with iDRAC from the Command Line (CLI)","author":"Carmine Bufano","date":"January 20, 2024","format":false,"excerpt":"Dell's iDRAC (Integrated Dell Remote Access Controller) is a out of band server management card installed on enterprise servers. It lets you manage the server as if you were physically present at the remote location of your server(s). Along with a graphical web interface which lets you see and manage\u2026","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":294,"url":"https:\/\/carminebufano.com\/index.php\/2018\/01\/04\/how-to-recover-from-a-corrupt-debian-linux-filesystem-read-only-filesystem-that-will-not-boot-or-boots-into-initramfs\/","url_meta":{"origin":167,"position":4},"title":"How to recover from a corrupt debian linux filesystem (read-only filesystem) that will not boot or boots into initramfs","author":"Carmine Bufano","date":"January 4, 2018","format":false,"excerpt":"","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":622,"url":"https:\/\/carminebufano.com\/index.php\/2023\/12\/18\/how-to-edit-files-in-winscp\/","url_meta":{"origin":167,"position":5},"title":"How to edit files in WinSCP","author":"Carmine Bufano","date":"December 18, 2023","format":false,"excerpt":"If you are using a ssh key and having trouble becoming root after loging into WinSCP, this is the answer: In connection settings Click AdvancedUnder Environment select SCP\/ShellIn shell value enter the command to elevateSave the configuration.","rel":"","context":"In &quot;Walkthroughs&quot;","block_context":{"text":"Walkthroughs","link":"https:\/\/carminebufano.com\/index.php\/category\/walkthroughs\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/p70MUT-2H","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":1,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":522,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/posts\/167\/revisions\/522"}],"wp:attachment":[{"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carminebufano.com\/index.php\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}