{"id":67,"date":"2016-11-20T20:38:59","date_gmt":"2016-11-20T18:38:59","guid":{"rendered":"http:\/\/developer.ps\/?p=67"},"modified":"2019-02-12T15:36:05","modified_gmt":"2019-02-12T13:36:05","slug":"fix-amazon-ec2-ssh-login","status":"publish","type":"post","link":"https:\/\/developer.ps\/index.php\/2016\/11\/20\/fix-amazon-ec2-ssh-login\/","title":{"rendered":"Fix Amazon EC2 SSH login"},"content":{"rendered":"Blocked myself with CSF firewall on a Centos 7 server. With the \"Run Command\" feature was not available, and no web terminal or VNC console such as the one in digitalocean(https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-use-the-digitalocean-console-to-access-your-droplet). After reading around I found out that the only solution is to stop the running instance, detach the volume, create another Linux instance (shouldn't be the same as the running one), then attach the old volume to the newly <a href=\"https:\/\/developer.ps\/index.php\/2016\/11\/20\/fix-amazon-ec2-ssh-login\/\" class=\"more-link\">Read more [...]<\/a>","protected":false},"excerpt":{"rendered":"<p>Blocked myself with CSF firewall on a Centos 7 server. With the &#8220;Run Command&#8221; feature was not available, and no web terminal or VNC console such as the one in digitalocean(https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-use-the-digitalocean-console-to-access-your-droplet). After reading around I found out that the only solution is to stop the running instance, detach the volume, create another Linux instance (shouldn&#8217;t be the same as the running one), then attach the old volume to the newly Read more [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[15,14,13],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-amazon-ec2","category-centos","category-linux"],"wps_subtitle":"Logged out of Amazon instance and SSH is not working","_links":{"self":[{"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":10,"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/posts\/67\/revisions\/204"}],"wp:attachment":[{"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.ps\/index.php\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}