{"id":1273,"date":"2016-09-29T14:04:02","date_gmt":"2016-09-29T06:04:02","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=1273"},"modified":"2024-11-15T15:01:26","modified_gmt":"2024-11-15T07:01:26","slug":"linux-ssh%e9%99%90%e5%88%b6ip%e7%99%bb%e5%bd%95%e7%9a%84%e5%ae%89%e5%85%a8%e7%ad%96%e7%95%a5%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/linux-ssh%e9%99%90%e5%88%b6ip%e7%99%bb%e5%bd%95%e7%9a%84%e5%ae%89%e5%85%a8%e7%ad%96%e7%95%a5%e6%96%b9%e6%b3%95\/","title":{"rendered":"Linux SSH\u9650\u5236IP\u767b\u5f55\u7684\u5b89\u5168\u7b56\u7565\u65b9\u6cd5"},"content":{"rendered":"<p>\u6bd4\u5982\u8bf4\u4f60\u53ea\u5141\u8bb810.0.0.2\u8fd9\u4e2a<span class=\"wp_keywordlink\">ip<\/span>\u8fdb\u5165\uff0c\u5176\u5b83\u90fd\u7981\u6b62\uff1a<\/p>\n<pre>vim \/etc\/<span class=\"wp_keywordlink\">ssh<\/span>\/sshd_config<\/pre>\n<p>\u6dfb\u52a0\u4e00\u884c\uff1a<\/p>\n<pre>allowusers root@10.0.0.2<\/pre>\n<p>\u6ce8\uff1aroot\u4e3a\u4f60\u7528\u6765\u767b\u5165\u670d\u52a1\u5668\u7684\u7528\u6237\u540d<\/p>\n<p>\u6700\u540e<span class=\"wp_keywordlink\">sshd<\/span>\u91cd\u542f<\/p>\n<pre><span class=\"wp_keywordlink\">service<\/span> sshd restart<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6bd4\u5982\u8bf4\u4f60\u53ea\u5141\u8bb810.0.0.2\u8fd9\u4e2aip\u8fdb\u5165\uff0c\u5176\u5b83\u90fd\u7981\u6b62\uff1a vim \/etc\/ssh\/sshd_config \u6dfb &#8230; <a title=\"Linux SSH\u9650\u5236IP\u767b\u5f55\u7684\u5b89\u5168\u7b56\u7565\u65b9\u6cd5\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/linux-ssh%e9%99%90%e5%88%b6ip%e7%99%bb%e5%bd%95%e7%9a%84%e5%ae%89%e5%85%a8%e7%ad%96%e7%95%a5%e6%96%b9%e6%b3%95\/\" aria-label=\"\u9605\u8bfb Linux SSH\u9650\u5236IP\u767b\u5f55\u7684\u5b89\u5168\u7b56\u7565\u65b9\u6cd5\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49],"tags":[1548,1549,1550],"class_list":["post-1273","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux","tag-ssh","tag-1550"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=1273"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1273\/revisions"}],"predecessor-version":[{"id":1274,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1273\/revisions\/1274"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=1273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=1273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=1273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}