{"id":783,"date":"2021-10-01T12:34:00","date_gmt":"2021-10-01T16:34:00","guid":{"rendered":"https:\/\/molecularsciences.org\/content\/?p=783"},"modified":"2022-03-01T12:35:19","modified_gmt":"2022-03-01T17:35:19","slug":"connecting-to-linux-instance-using-ssh-on-aws-ec2","status":"publish","type":"post","link":"https:\/\/molecularsciences.org\/content\/connecting-to-linux-instance-using-ssh-on-aws-ec2\/","title":{"rendered":"Connecting to Linux Instance using SSH on AWS EC2"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>Go to (http:\/\/aws.amazon.com)<\/li><li>Sign in<\/li><li>Click on EC2<\/li><li>Click on Running Instances<\/li><li>Select you pem key. It should match the key pair name.<\/li><li>Make sure that the pem key has &#8220;chmod 400&#8221; permission<\/li><li>Open terminal and type: ssh -i mykey.pem username@public_dns_name<\/li><\/ol>\n\n\n\n<p>username is: &#8211; ec2-user for Amazon Linux &#8211; ec2-user for RHEL5 &#8211; ubuntu for Ubuntu &#8211; ec2-user for Fedora &#8211; ec2-user for SUSE Linux<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go to (http:\/\/aws.amazon.com) Sign in Click on EC2 Click on Running Instances Select you pem key. It should match the key pair name. Make sure that the pem key has &#8220;chmod 400&#8221; permission Open terminal and type: ssh -i mykey.pem username@public_dns_name username is: &#8211; ec2-user for Amazon Linux &#8211; ec2-user for RHEL5 &#8211; ubuntu for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[126,34],"tags":[],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-aws","category-linux"],"_links":{"self":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":1,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"predecessor-version":[{"id":784,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/posts\/783\/revisions\/784"}],"wp:attachment":[{"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/molecularsciences.org\/content\/wp-json\/wp\/v2\/tags?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}