{"id":2720,"date":"2017-12-09T11:16:29","date_gmt":"2017-12-09T11:16:29","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2720"},"modified":"2021-11-18T06:32:35","modified_gmt":"2021-11-18T06:32:35","slug":"access-to-aws-ec2-instance-using-password-in-linux","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/access-to-aws-ec2-instance-using-password-in-linux\/","title":{"rendered":"Access to aws EC2 instance using password in linux"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: Access to aws EC2 instance using password in linux<\/strong><\/p>\n<p>Access to aws EC2 instance using password in linux<\/p>\n<p>Here&#8217;s what I did on a Ubuntu EC2<\/p>\n<p>A) Login as root using the keypairs<\/p>\n<p>B) Setup the necessary users and their passwords with<\/p>\n<p># adduser<br>\nC) Edit \/etc\/ssh\/sshd_config setting<\/p>\n<p>PasswordAuthentication yes<br>\nD) Restart the sshd with<\/p>\n<p># sudo service sshd restart<\/p>\n<p>Credit Illy<br>\nRegards,<br>\nRajesh Kumar<br>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_58163\"><iframe loading=\"lazy\"  id=\"_ytid_89776\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_58163\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: Access to aws EC2 instance using password in linux Access to aws EC2 instance using password in linux Here&#8217;s what I did on a Ubuntu EC2&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5633],"tags":[380],"class_list":["post-2720","post","type-post","status-publish","format-standard","hentry","category-aws","tag-access"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2720"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2720\/revisions"}],"predecessor-version":[{"id":25680,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2720\/revisions\/25680"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}