{"id":7731,"date":"2016-05-19T11:25:10","date_gmt":"2016-05-19T03:25:10","guid":{"rendered":"http:\/\/jpuyy.com\/?p=7731"},"modified":"2019-12-09T13:19:45","modified_gmt":"2019-12-09T05:19:45","slug":"ssh-config-%e9%92%88%e5%af%b9%e6%9f%90%e4%ba%9b%e6%9c%ba%e5%99%a8%e5%af%86%e7%a0%81%e7%99%bb%e9%99%86","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=7731","title":{"rendered":"ssh config \u9488\u5bf9\u67d0\u4e9b\u673a\u5668\u5bc6\u7801\u767b\u9646"},"content":{"rendered":"<p>\u4e00\u4e9b\u673a\u5668\u4e0d\u8981\u516c\u94a5\u767b\u9646\uff0c\u5728\u6bcf\u6b21\u8fde\u7684\u65f6\u5019\u63d0\u793a\u5bc6\u7801<\/p>\n<pre>Host kong\nHostname 192.168.1.200\nUser jpuyy                                                              \nPort 22                                                                         \nPreferredAuthentications password\n<\/pre>\n<p>\u670d\u52a1\u7aef\uff0c\u4f8b\u5982 sftp \u53ef\u4ee5\u5141\u8bb8\u5bc6\u7801\u767b\u5f55\u7684\u8bdd<\/p>\n<pre>Match user jpuyy address 192.168.1.0\/24\n    PasswordAuthentication yes\n    # also since we want only sftp\n    ForceCommand internal-sftp\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e9b\u673a\u5668\u4e0d\u8981\u516c\u94a5\u767b\u9646\uff0c\u5728\u6bcf\u6b21\u8fde\u7684\u65f6\u5019\u63d0\u793a\u5bc6\u7801 Host kong Hostname 192.168.1.200 User jpuyy Port 22 PreferredAuthentications password \u670d\u52a1\u7aef\uff0c\u4f8b\u5982 sftp \u53ef\u4ee5\u5141\u8bb8\u5bc6\u7801\u767b\u5f55\u7684\u8bdd Match user jpuyy address 192.168.1.0\/24 PasswordAuthentication yes # also since we want only sftp ForceCommand internal-sftp<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-7731","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7731"}],"version-history":[{"count":2,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7731\/revisions"}],"predecessor-version":[{"id":8672,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/7731\/revisions\/8672"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}