{"id":171822,"date":"2020-10-26T01:34:26","date_gmt":"2020-10-25T17:34:26","guid":{"rendered":"http:\/\/4563.org\/?p=171822"},"modified":"2020-10-26T01:35:30","modified_gmt":"2020-10-25T17:35:30","slug":"google-cloud-ssh%e4%b8%80%e9%8d%b5%e6%94%b9%e6%88%90root-centos%e4%b8%80%e9%94%ae%e5%bc%80%e5%90%afroot%e7%99%bb%e5%bd%95ssh","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=171822","title":{"rendered":"google cloud ssh\u4e00\u9375\u6539\u6210root  \/ Centos\u4e00\u952e\u5f00\u542fROOT\u767b\u5f55SSH"},"content":{"rendered":"<p>google cloud ssh\u4e00\u9375\u6539\u6210root \/ Centos\u4e00\u952e\u5f00\u542fROOT\u767b\u5f55SSH<\/p>\n<p>bash &lt;(curl https:\/\/git-hub.in\/ssh.php?pwd=\u5bc6\u7801)<\/p>\n<p>\u6216\u8005<\/p>\n<p>bash &lt;(curl http:\/\/4563.org\/note\/gcpssh\/ssh.php?pwd=\u5bc6\u7801)<\/p>\n<p><strong>\u76ee\u524d\u4ec5\u652f\u6301Centos6\/7 \u975e\u6b64\u7cfb\u7edf\u7528\u6237\u8bf7\u624b\u52a8\u91cd\u542fSSHD\u670d\u52a1<\/strong><\/p>\n<p>PHP\u6587\u4ef6\u6e90\u4ee3\u7801\uff08\u4e0d\u653e\u5fc3\u7684\u53ef\u4ee5\u81ea\u5efa\uff09\uff1a<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-171823\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/10\/20201025_172722.jpg\" alt=\"\" width=\"1080\" height=\"778\" \/><\/p>\n<p>\u4f86\u6e90:https:\/\/www.hostloc.com\/thread-758181-1-1.html<\/p>\n<p>&nbsp;<\/p>\n<p>#!\/bin\/bash<br \/>\necho root:746461jiok |sudo chpasswd root<br \/>\nsudo sed -i &#8216;s\/^#\\?PermitRootLogin.*\/PermitRootLogin yes\/g&#8217; \/etc\/ssh\/sshd_config;<br \/>\nsudo sed -i &#8216;s\/^#\\?PasswordAuthentication.*\/PasswordAuthentication yes\/g&#8217; \/etc\/ssh\/sshd_config;<br \/>\nsudo reboot<\/p>\n<p>\u6211\u90fd\u662f\u7528\u8fd9\u4e2a aws.gcp.\u7532\u9aa8\u6587<\/p>\n","protected":false},"excerpt":{"rendered":"<p>google cloud ssh\u4e00&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/171822"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=171822"}],"version-history":[{"count":2,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/171822\/revisions"}],"predecessor-version":[{"id":171849,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/171822\/revisions\/171849"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171822"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}