{"id":5133,"date":"2020-12-12T17:40:22","date_gmt":"2020-12-12T09:40:22","guid":{"rendered":"https:\/\/www.xttblog.com\/?p=5133"},"modified":"2020-12-12T17:40:22","modified_gmt":"2020-12-12T09:40:22","slug":"%e4%b8%80%e6%9c%ba%e5%a4%9agit%e8%b4%a6%e5%8f%b7gitee%e3%80%81github%e3%80%81gitlab%e7%9a%84ssh%e5%85%8d%e5%af%86%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=5133","title":{"rendered":"\u4e00\u673a\u591aGit\u8d26\u53f7(gitee\u3001github\u3001gitlab)\u7684SSH\u514d\u5bc6\u914d\u7f6e"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u4e00\u4e2a\u7a0b\u5e8f\u5458\uff0c\u901a\u5e38\u62e5\u6709\u591a\u4e2a\u5f00\u6e90\u5e73\u53f0\u7684\u8d26\u53f7\u3002\u6bd4\u5982\uff1agithub\u3001gitee\u3001gitlab \u7b49\u3002\u591a\u4e2a\u8d26\u53f7\u5c31\u4f1a\u5e26\u6765\u7ba1\u7406\u4e0a\u7684\u4e00\u4e9b\u9ebb\u70e6\u3002\u5c24\u5176\u662f\u6211\u4eec\u53ef\u80fd\u9700\u8981\u8bb0\u4f4f\u591a\u4e2a\u8d26\u53f7\u548c\u5bc6\u7801\u3002\u8fd9\u4e2a\u65f6\u5019\uff0c\u6700\u63a8\u8350\u7684\u505a\u6cd5\u5c31\u662f\u914d\u7f6e SSH \u7684\u514d\u5bc6\u767b\u5f55\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u662f\u4e00\u4e2a\u8d26\u53f7\u7684\u8bdd\uff0c\u6211\u76f8\u4fe1\u5927\u591a\u6570\u4eba\u90fd\u4f1a\u914d\u7f6e\u3002\u4f46\u662f\u5982\u679c\u662f\u591a\u4e2a\u8d26\u53f7\u7684\u8bdd\uff0c\u6539\u5982\u4f55\u7684\u5728\u4e00\u53f0\u7535\u8111\u4e0a\u8fdb\u884c\u65e0\u7f1d\u7684\u5207\u6362\u5462\uff1f\u4eca\u5929\u6211\u7ed9\u5927\u5bb6\u9610\u8ff0\u4e00\u4e9b\u6211\u7684\u4e2a\u4eba\u4f7f\u7528\u5fc3\u5f97\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Git \u8d26\u53f7\u548c GitHub\/GitLab \u8d26\u53f7<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Git \u4e2d\u5176\u5b9e\u662f\u6ca1\u6709\u8d26\u53f7\u6982\u5ff5\u7684\u3002Git \u662f\u9ad8\u8d28\u91cf\u7684\u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0cGitHub \u662f\u4e91\u7aef\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\u3002\u4e0b\u56fe\u5c31\u662f\u5b83\u4eec\u4e4b\u95f4\u7684\u4e00\u4e9b\u533a\u522b\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/gitee.com\/xmtblog\/img\/raw\/master\/2020\/git-gitee-github.png\" alt=\"\" \/><figcaption>Git VS Github<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Git \u8d26\u53f7<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u9762\u5df2\u7ecf\u8bf4\u8fc7\u4e86\uff0c\u5728 Git \u4e2d\u5176\u5b9e\u662f\u4e0d\u5b58\u5728\u8d26\u53f7\u7684\u6982\u5ff5\u7684\uff0c\u5373\u6ca1\u6709\u767b\u5f55\u3001\u9274\u6743\u7b49\u6b65\u9aa4\uff0c\u53ea\u6709\u4e00\u4e2a\u5168\u5c40\u548c\u672c\u5730\u7684\u914d\u7f6e\uff0c\u80fd\u591f\u8bbe\u7f6e user.name \u548c user.email \u7528\u4e8e\u6807\u8bc6\u63d0\u4ea4\u8005\u4fe1\u606f\u3002\u5047\u5982\u8bf4\u4f60\u521a\u5b89\u88c5 Git\uff0c\u9996\u6b21\u63d0\u4ea4\u4ee3\u7801\u7684\u65f6\u5019\u4f1a\u6709\u5982\u4e0b\u63d0\u793a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate.\nYou can suppress this message by setting them explicitly:\n\n    git config --global user.name \"Your Name\"\n    git config --global user.email you@example.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c31\u662f\u8bf4\u4f60\u8fd8\u6ca1\u6709\u8bbe\u7f6e\u63d0\u4ea4\u8005\u4fe1\u606f\uff0c\u5168\u5c40\u548c\u672c\u5730\u9879\u76ee\u90fd\u6ca1\u6709\u8bbe\u7f6e\uff0c\u5168\u5c40\u7684\u914d\u7f6e\u5728\u6587\u4ef6\uff1a~\/.gitconfig \u4e2d\uff0c\u9879\u76ee\u7684\u914d\u7f6e\u5728 .git\/config \u4e2d\uff0c\u5982\u679c\u90fd\u6ca1\u6709\u7684\u8bdd\uff0cGit \u5c31\u4f1a\u83b7\u53d6\u64cd\u4f5c\u7cfb\u7edf\u7528\u6237\u4fe1\u606f\u4f5c\u4e3a\u63d0\u4ea4\u4eba\u4fe1\u606f\uff0c\u4f8b\u5982\u5728 Mac \u4e2d\uff0c\u83b7\u53d6\u65b9\u5f0f\u4e3a \u7528\u6237\u5168\u540d &lt;\u7528\u6237\u540d@\u4e3b\u673a\u540d&gt;\uff0c\u5176\u4e2d\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7528\u6237\u5168\u540d\u7528 id -F \u83b7\u53d6<\/li><li>\u7528\u6237\u540d\u7528 id -un \u83b7\u53d6<\/li><li>\u4e3b\u673a\u540d\u7528 hostname \u83b7\u53d6<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u6240\u4ee5\uff0c\u5982\u679c\u4f60\u4e0d\u8bbe\u7f6e\u63d0\u4ea4\u4eba\u4fe1\u606f\u7684\u8bdd\uff0c\u7535\u8111\u4fe1\u606f\u5c31\u66b4\u9732\u4e86\uff0c\u6240\u4ee5\u5efa\u8bae\u5927\u5bb6\u6839\u636e\u4e0a\u9762\u7684\u63d0\u793a\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GitHub\/GitLab \u8d26\u53f7<br><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e24\u4e2a\u8d26\u53f7\u4e0d\u7528\u8bf4\u4e86\uff0c\u5c31\u662f\u767b\u5f55\u7f51\u7ad9\u6ce8\u518c\u5f97\u5230\u7684\uff0c\u4f46\u662f\u6ce8\u518c\u4e4b\u540e\u6709\u4e00\u4e2a\u5f88\u91cd\u8981\u7684\u6b65\u9aa4\u5c31\u662f\u914d\u7f6e SSH Key\uff0c\u5982\u679c\u4e0d\u914d\u7f6e\u7684\u8bdd\uff0c\u7f51\u7ad9\u65e0\u6cd5\u5bf9\u63d0\u4ea4\u4eba\u8fdb\u884c\u9274\u6743\uff0c\u56e0\u6b64\u5c31\u65e0\u6cd5\u63d0\u4ea4\u5230\u4ed3\u5e93\u4e2d\u3002\u9996\u5148\u8981\u5728\u7535\u8111\u4e0a\u751f\u6210 SSH Key\uff0c\u751f\u6210\u65b9\u6cd5\u5f88\u7b80\u5355\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh-keygen -t rsa -C \"www.xttblog.com\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd0\u884c\u4e4b\u540e\uff0c\u5728 ~\/.ssh \u76ee\u5f55\u4e0b\u4f1a\u591a\u51fa\u4e24\u4e2a\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-rw-------@ 1 xttblog  codedq   1.6K 12 16  2020 id_rsa\n-rw-r--r--@ 1 xttblog  codedq   416B 12 16  2020 id_rsa.pub<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u4e2d id_rsa.pub \u5c31\u662f\u516c\u94a5\uff0c\u901a\u8fc7 cat ~\/.ssh\/id_rsa.pub \u83b7\u53d6\u5176\u5185\u5bb9\uff0c\u590d\u5236\u5230 GitHub \u6216 GitLab \u8d26\u6237\u7684 SSH Key \u91cc\u9762\u5373\u53ef\uff0c\u4e0b\u6b21\u518d\u63d0\u4ea4\u7684\u8bdd\u5c31\u80fd\u901a\u8fc7\u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4e0a\u9762\u8fd9\u4e2a\u6b65\u9aa4\u8fd8\u6709\u4e0d\u61c2\u7684\uff0c\u53ef\u4ee5\u53c2\u8003\u6211\u7684\u8fd9\u7bc7\u6587\u7ae0\u300a<a href=\"https:\/\/mp.weixin.qq.com\/s\/R77ewZui2HVQX65L2LBnFg\">\u624b\u628a\u624b\u6559\u4f60\u4f7f\u7528 ssh-key \u514d\u5bc6\u767b\u5f55\u5404\u4e91\u670d\u52a1\u5668\u548cGithub<\/a>\u300b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u591a\u8d26\u53f7\u64cd\u4f5c\u6b65\u9aa4<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Git \u591a\u8d26\u53f7<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728\u4e00\u4e2a\u9879\u76ee\u4e2d\uff0c\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u4fee\u6539\u7528\u6237\u540d\u548c\u90ae\u7bb1\u5373\u53ef\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git config user.name xxx\ngit config user.email xxx<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u6837\u7684\u8bdd\uff0c\u5c31\u76f8\u5f53\u4e8e\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u65b0\u7684 Git \u8d26\u53f7\u4e86\uff0c\u4f46\u662f\u8981\u6ce8\u610f\uff0c\u8fd9\u91cc\u7684\u90ae\u7bb1\u6bd4\u8f83\u91cd\u8981\uff0c\u5728\u63d0\u4ea4\u5230 GitHub\/GitLab \u7f51\u7ad9\u7684\u65f6\u5019\uff0c\u4f1a\u6839\u636e\u8fd9\u91cc\u8bbe\u7f6e\u90ae\u7bb1\uff08\u5373 user.email\uff09\u4e0e GitHub\/GitLab \u8d26\u53f7\u4e2d\u7684\u90ae\u7bb1\u8fdb\u884c\u5339\u914d\uff0c\u5982\u679c\u5339\u914d\u4e0a\u4e86\uff0ccommit \u4e2d\u7684\u7528\u6237\u540d\u548c\u5934\u50cf\u5c31\u4f1a GitHub\/GitLab \u8d26\u53f7\u7684\u7528\u6237\u540d\u548c\u5934\u50cf\uff0c\u5982\u679c\u6ca1\u5339\u914d\u4e0a\uff0ccommit \u4e2d\u7684\u7528\u6237\u540d\u5c31\u7528 user.name\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">GitHub\/GitLab\/gitee \u591a\u8d26\u53f7<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u624d\u662f\u672c\u6587\u7684\u91cd\u70b9\uff0c\u5982\u4f55\u7ed9\u6258\u7ba1\u5e73\u53f0 GitHub\/GitLab\/gitee \u914d\u7f6e\u591a\u8d26\u53f7\u3002\u4e0a\u9762\u5df2\u7ecf\u77e5\u9053\u4ee3\u7801\u6258\u7ba1\u5e73\u53f0\u5b9e\u9645\u4e0a\u662f\u901a\u8fc7 ~\/.ssh\/id_rsa.pub \u6765\u8ba4\u8bc1\u7528\u6237\u7684\uff0c\u6240\u4ee5\u53ea\u8981\u591a\u751f\u6210\u51e0\u4e2a\u5bc6\u94a5\u5bf9\u5c31\u76f8\u5f53\u4e8e\u751f\u6210\u4e86\u591a\u4e2a\u6258\u7ba1\u5e73\u53f0\u7684\u8d26\u53f7\u4e86\uff01\u6ce8\u610f\uff0c\u751f\u6210\u5bc6\u94a5\u5bf9\u4e4b\u540e\uff0c\u8bb0\u5f97\u6dfb\u52a0\u5230 GitHub \u6216 GitLab\u3001Gitee \u8d26\u6237\u7684 SSH Key \u91cc\u9762\u3002<br> \u4f46\u662f\u751f\u6210\u5bc6\u94a5\u5bf9\u7684\u65f6\u5019\u4e0d\u8981\u8986\u76d6\u4e4b\u524d\u7684\u5bc6\u94a5\u5bf9\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u4f1a\u4fdd\u5b58\u5230\u540c\u6837\u7684\u4f4d\u7f6e\uff0c\u5373 ~\/.ssh\/id_rsa\uff0c\u5982\u679c\u6ca1\u5907\u4efd\u7684\u8bdd\uff0c\u5343\u4e07\u4e0d\u8981\u8986\u76d6\uff0c\u4e0d\u7136\u5c31\u627e\u4e0d\u5230\u4e86\uff01\uff08\u771f\u8986\u76d6\u4e86\u8bdd\uff0c\u4e5f\u4e0d\u662f\u4ec0\u4e48\u5927\u4e8b\uff0c\u628a\u539f SSH Key \u4ece\u6258\u7ba1\u5e73\u53f0\u91cc\u9762\u5220\u4e86\u5373\u53ef\uff09\uff0c\u4f8b\u5982\u4f60\u53ef\u4ee5\u5148\u4fdd\u5b58\u5230\u5f53\u524d\u76ee\u5f55\u4e0b\uff0c\u7136\u540e\u79fb\u52a8\u5230\u5176\u4ed6\u4f4d\u7f6e\uff0c\u4f8b\u5982 ~\/.ssh\/xttblog\/ \u76ee\u5f55\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ ssh-keygen -t rsa -C \"taoge\"\nGenerating public\/private rsa key pair.\nEnter file in which to save the key (\/Users\/xtt\/.ssh\/id_rsa): .\/id_rsa\nEnter passphrase (empty for no passphrase):\nEnter same passphrase again:\nYour identification has been saved in .\/id_rsa.\nYour public key has been saved in .\/id_rsa.pub<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5230\u8fd9\u91cc\uff0c\u4f60\u5c31\u62e5\u6709\u591a\u4e2a SSH Key \u4e86\uff0c\u4e8e\u662f\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\u5207\u6362\u8eab\u4efd\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u9ed8\u8ba4\u5c31\u662f\u7528\u7684 ~\/.ssh\/id_rsa\uff0c\u6240\u4ee5\u52a0\u4e0d\u52a0\u4e00\u4e2a\u6548\u679c\nGIT_SSH_COMMAND=\"ssh -i ~\/.ssh\/id_rsa\" git clone xxxx\n# \u4f7f\u7528\u53e6\u5916\u4e00\u4e2a\u79c1\u94a5\nGIT_SSH_COMMAND=\"ssh -i  ~\/.ssh\/xttblog\/id_rsa\" git push\n# \u4f7f\u7528 gitlab \u7684\u79c1\u94a5\uff0c\u5f53\u7136\u4f60\u5f97\u628a\u5bf9\u5e94\u7684\u516c\u94a5\u6dfb\u52a0\u5230 gitlab \u7684 SSH Key \u91cc\u9762\u624d\u884c\nGIT_SSH_COMMAND=\"ssh -i  ~\/.ssh\/gitlab\/id_rsa\" git push<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u79cd\u65b9\u5f0f\u867d\u7136\u7075\u6d3b\uff0c\u4f46\u662f\u4e0d\u591f\u667a\u80fd\uff0c\u4f8b\u5982\u6211\u60f3\u8981\u7684\u6548\u679c\u5c31\u662f\uff1a\u67d0\u4e2a\u5e73\u53f0\u7684\u6240\u6709\u4ed3\u5e93\u90fd\u4f7f\u7528\u67d0\u4e2a\u79c1\u94a5\u8fdb\u884c\u8ba4\u8bc1\uff0c\u8fd9\u79cd\u9700\u6c42\u5f88\u5e38\u89c1\uff0c\u6253\u5f00 ~\/git\/config \u6587\u4ef6\u914d\u7f6e\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Host github.com\n    User git\n    Hostname github.com\n    PreferredAuthentications publickey\n    IdentityFile ~\/.ssh\/github\/id_rsa\nHost gitlab.com\n    Hostname gitlab.com\n    PreferredAuthentications publickey\n    IdentityFile ~\/.ssh\/gitlab\/id_rsa\nHost gitee.com\n    Hostname gitee.com\n    PreferredAuthentications publickey\n    IdentityFile ~\/.ssh\/gitee\/id_rsa<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5230\u8fd9\u91cc\uff0c\u591a\u8d26\u53f7\u7684\u914d\u7f6e\u57fa\u672c\u4e0a\u5df2\u7ecf\u5b8c\u6210\u4e86\uff0c\u4f46\u662f\u8fd8\u6709\u4e00\u4e2a\u4e0d\u8db3\u7684\u5730\u65b9\u5c31\u662f\u867d\u7136\u79c1\u94a5\u6839\u636e\u57df\u540d\u81ea\u52a8\u9009\u62e9\u4e86\uff0c\u4f46\u662f\u63d0\u4ea4\u7684\u914d\u7f6e\u8fd8\u662f\u5171\u4eab .gitconfig \u4e2d\u7684\u914d\u7f6e\uff0c\u4f8b\u5982 user.name \u548c user.email\uff0c\u80fd\u4e0d\u80fd\u6839\u636e\u4ed3\u5e93\u6240\u5728\u7684\u4e0d\u540c\u4f4d\u7f6e\u9009\u62e9\u4e0d\u540c\u7684\u5168\u5c40\u914d\u7f6e\u6587\u4ef6\u5462\uff1f \u7b54\u6848\u662f\u53ef\u4ee5\u7684\uff0c\u6253\u5f00 ~\/.gitconfig \u6587\u4ef6\uff0c\u5728\u672b\u5c3e\u6dfb\u52a0\u4e0b\u9762\u7684\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>[includeIf \"gitdir:~\/work\/gitlab\/\"]\n    path = .gitconfig-gitlab<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e\u518d\u5efa\u4e00\u4e2a ~\/.gitconfig-gitlab \u6587\u4ef6\uff0c\u91cc\u9762\u5199\u5168\u5c40\u914d\u7f6e\uff0c\u4f8b\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>[user]\n    name = xttblog\n    email = xttblog<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u90a3\u4e48\u53ea\u8981\u4ed3\u5e93\u88ab\u653e\u5230\u4e86 ~\/work\/gitlab \u76ee\u5f55\u4e0b\u9762\uff0c\u9ed8\u8ba4\u5c31\u4f1a\u4f7f\u7528\u8fd9\u4e2a\u914d\u7f6e\u4e86\uff01<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=5133\">\u4e00\u673a\u591aGit\u8d26\u53f7(gitee\u3001github\u3001gitlab)\u7684SSH\u514d\u5bc6\u914d\u7f6e<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u7a0b\u5e8f\u5458\uff0c\u901a\u5e38\u62e5\u6709\u591a\u4e2a\u5f00\u6e90\u5e73\u53f0\u7684\u8d26\u53f7\u3002\u6bd4\u5982\uff1agithub\u3001gitee\u3001gitlab \u7b49\u3002\u591a\u4e2a\u8d26\u53f7\u5c31\u4f1a\u5e26\u6765\u7ba1\u7406 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1438,1639,644,645,1437],"class_list":["post-5133","post","type-post","status-publish","format-standard","hentry","category-yyzt","tag-git","tag-gitalk","tag-gitbook","tag-github"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/5133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5133"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/5133\/revisions"}],"predecessor-version":[{"id":5134,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/5133\/revisions\/5134"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}