{"id":204570,"date":"2020-11-25T10:22:14","date_gmt":"2020-11-25T02:22:14","guid":{"rendered":"http:\/\/4563.org\/?p=204570"},"modified":"2020-11-25T10:22:14","modified_gmt":"2020-11-25T02:22:14","slug":"%e5%9c%a8%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%87%8c%e9%9d%a2%ef%bc%8c%e6%80%8e%e4%b9%88%e7%bb%99%e8%ae%bf%e9%97%ae-github-%e5%8a%a0%e9%80%9f%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=204570","title":{"rendered":"\u5728\u670d\u52a1\u5668\u91cc\u9762\uff0c\u600e\u4e48\u7ed9\u8bbf\u95ee github \u52a0\u901f\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5728\u670d\u52a1\u5668\u91cc\u9762\uff0c\u600e\u4e48\u7ed9\u8bbf\u95ee github \u52a0\u901f\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GTD <\/span>  <span><i><\/i> 0<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5982\u56fe\uff0c\u771f\u5fc3\u9f9f\u901f\uff0c\u6709\u529e\u6cd5\u8ba9\u670d\u52a1\u5668\u4f7f\u7528\u672c\u5730\u7684 shell \u7684 proxy \u8fbe\u5230\u52a0\u901f\u7684\u76ee\u7684\u5417\uff1f<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201126_5fbf7fc4ea5e5.jpg\" alt=\"\u5728\u670d\u52a1\u5668\u91cc\u9762\uff0c\u600e\u4e48\u7ed9\u8bbf\u95ee github \u52a0\u901f\uff1f\" \/><\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>10<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4320506\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BrettD <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5728\u672c\u5730 clone \u5b8c\u4e4b\u540e scp \u4f20\u8f93\u5230\u670d\u52a1\u5668\u4e0a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320507\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : m4d3bug <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u672c\u5730\u8d77\u4e2a squid\uff0c\u7a7f\u900f\u6620\u5c04\u5728\u670d\u52a1\u5668\u7684\u7aef\u53e3\uff0c\u7136\u540e git config \u8bbe http.proxy \u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320508\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lookas2001 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ssh \u5f00\u4e2a tunnel \u8f6c\u53d1\u6d41\u91cf\u5230\u672c\u5730<br \/>\u8981\u4e0d\u5c31\u4e70\u4e2a\u56fd\u5916\u7684\u670d\u52a1\u5668\uff0c\u89e3\u51b3\u6240\u6709\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320509\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liangming1 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4fee\u6539\u672c\u5730 hosts\uff0c\u5230\u4e00\u4e2a\u9999\u6e2f proxy \u673a\u5668\u4e0a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320510\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oneisall8955 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6700\u8fd1 get \u5230 ssh \u7684-L \u548c-R \u53c2\u6570<\/p>\n<p>\u5148\u672c\u5730 shell \u6267\u884c:<\/p>\n<p>ssh -fNR *:\u8fdc\u7a0b\u673a\u5668\u7aef\u53e3:\u672c\u5730\u4ee3\u7406\u673a\u5668\u5c40\u57df\u7f51 IP \u6216 localhost:\u672c\u5730\u5c40\u57df\u7f51 IP \u673a\u5668\u6216\u672c\u673a\u7aef\u53e3 [email&#160;protected]\u8fdc\u7a0b\u673a\u5668 IP<\/p>\n<p>\u6ca1\u8bb0\u9519\u9519\u7684\u8bdd\u8fd9\u4e2a\u547d\u4ee4\u662f\u8ba9\u8fdc\u7a0b\u673a\u5668\u5f00\u542f\u4e00\u4e2a\u7aef\u53e3\uff0c\u5728\u8fdc\u7a0b\u4e3b\u673a\u91cc\u8bbf\u95ee\u8fd9\u4e2a\u7aef\u53e3\u5c31\u662f\u8bbf\u95ee\u672c\u5730\u7684\u7aef\u53e3\u5bf9\u5e94\u7684\u670d\u52a1\uff0c\u8fd9\u4e2a\u53eb\u8fdc\u7a0b\u7aef\u53e3\u8f6c\u53d1\u5230\u672c\u5730\uff08\u6216\u672c\u5730\u5c40\u57df\u7f51\uff09<\/p>\n<p>\u63a5\u7740\u5728\u8fdc\u7a0b\u673a\u5668\u8bbe\u7f6e git \u548c http \u6216 https \u7684 proxy \u5230\u673a\u5668\u672c\u8eab\u7684\u90a3\u4e2a\u7aef\u53e3\u5373\u53ef<\/p>\n<p>\u731c\u60f3\u7684\u6ca1\u5b9e\u8df5\u8fc7\u3002\u53e6\u5916\uff0c\u9700\u8981 ssh \u8bbe\u7f6e\u81ea\u52a8\u8fde\u63a5\uff0c\u9632\u6b62\u8d85\u65f6\u65ad\u5f00 connect                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320511\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : WishMeLz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9700\u6539 git \u7684\u4ee3\u7406                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320512\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shiny <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf4\u4e2a\u4e0d\u76f8\u5173\u7684\u7b80\u6613\u65b9\u6cd5\uff1afastgit.org                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320513\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : loadingimg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u63a8\u8350 gitclone.com                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320514\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : a22124497 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6cb9\u7334\u4e0a\u6709\u811a\u672c\uff0cgitbug \u52a0\u901f\u7684\u5427\uff0c\u8981\u4e0d cf \u4e0a\u5efa XX \u9879\u76ee\uff0c\u4e5f\u53ef\u4ee5\u52a0\u901f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4320515\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : imdong <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vim ~\/.ssh\/config<\/p>\n<p>&#8220;`<br \/>Host proxy<br \/> Hostname server-ip<br \/> &#8230;.<\/p>\n<p>Host github.com<br \/> ProxyJump proxy<br \/>&#8220;`<\/p>\n<p>git clone [email&#160;protected]:user\/project.git<\/p>\n<p>\u524d\u63d0\u662f\u4f60\u6709\u4e00\u53f0\u53ef\u4ee5\u52a0\u901f\u7684 ssh \u670d\u52a1\u5668\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u670d\u52a1\u5668\u91cc\u9762\uff0c\u600e\u4e48\u7ed9\u8bbf\u95ee gith&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\/204570"}],"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=204570"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/204570\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=204570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=204570"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=204570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}