{"id":120895,"date":"2026-11-01T19:16:50","date_gmt":"2026-11-01T11:16:50","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/120895.html"},"modified":"2026-11-01T19:16:50","modified_gmt":"2026-11-01T11:16:50","slug":"git-%e5%ae%9e%e6%88%98-%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0%ef%bc%9a%e4%bb%8e%e7%94%9f%e6%88%90-ssh-%e5%af%86%e9%92%a5%e5%88%b0%e8%a7%a3%e5%86%b3-tortoisegit-%e6%8e%a8%e9%80%81%e6%8a%a5%e9%94%99","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/120895.html","title":{"rendered":"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357"},"content":{"rendered":"<h3>&#x1f4cc; \u6838\u5fc3\u7ed3\u8bba&#xff08;TL;DR&#xff09;<\/h3>\n<li>\n<p>\u9996\u9009 Ed25519&#xff1a;\u653e\u5f03\u4f20\u7edf\u7684 RSA \u7b97\u6cd5&#xff0c;\u4f7f\u7528\u66f4\u5b89\u5168\u3001\u66f4\u7b80\u77ed\u7684 ed25519 \u7b97\u6cd5\u751f\u6210 SSH \u5bc6\u94a5&#xff0c;\u914d\u7f6e\u65f6\u63d0\u793a\u4fdd\u5b58\u8def\u5f84\u548c\u5bc6\u7801&#xff0c;\u4e00\u5f8b\u76f4\u63a5\u6309\u56de\u8f66\u3002<\/p>\n<\/li>\n<li>\n<p>\u56fe\u5f62\u5316\u5de5\u5177\u6392\u96f7&#xff1a;TortoiseGit&#xff08;\u5c0f\u4e4c\u9f9f&#xff09;\u9ed8\u8ba4\u7684 PuTTY \u5ba2\u6237\u7aef\u4e0e Git \u539f\u751f\u7684 OpenSSH \u5bc6\u94a5\u4e0d\u517c\u5bb9&#xff0c;\u9047\u5230 publickey \u62a5\u9519&#xff0c;\u9700\u5728\u8bbe\u7f6e\u4e2d\u5c06 SSH Client \u5207\u6362\u4e3a Git \u81ea\u5e26\u7684 ssh.exe\u3002<\/p>\n<\/li>\n<li>\n<p>Clone \u4fdd\u547d\u6cd5\u5219&#xff1a;\u6267\u884c git clone \u9047\u5230\u201c\u76ee\u6807\u8def\u5f84\u975e\u7a7a\u201d\u62a5\u9519\u65f6&#xff0c;Git \u4f1a\u81ea\u52a8\u4e2d\u6b62&#xff0c;\u7edd\u4e0d\u4f1a\u5220\u9664\u4f60\u7684\u672c\u5730\u6587\u4ef6\u3002\u9700\u6839\u636e\u60c5\u51b5\u9009\u62e9\u6e05\u7a7a\u76ee\u5f55\u3001\u5907\u4efd\u5408\u5e76\u6216\u76f4\u63a5 git pull\u3002<\/p>\n<\/li>\n<li>\n<p>\u4ed3\u5e93\u9632\u6c61\u67d3&#xff1a;\u5fc5\u987b\u5728\u9879\u76ee\u6839\u76ee\u5f55\u914d\u7f6e .gitignore \u6587\u4ef6&#xff0c;\u6392\u9664\u865a\u62df\u73af\u5883&#xff08;.venv&#xff09;\u548c IDE \u914d\u7f6e&#xff08;.idea&#xff09;&#xff0c;\u9632\u6b62\u4ed3\u5e93\u4f53\u79ef\u81c3\u80bf\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>&#x1f50d; \u4e00\u3001 SSH \u5bc6\u94a5\u914d\u7f6e&#xff08;Ed25519 \u6700\u4f73\u5b9e\u8df5&#xff09;<\/h3>\n<p>\u5728\u4f7f\u7528 Git \u65f6&#xff0c;SSH \u534f\u8bae\u53ef\u4ee5\u8ba9\u6211\u4eec\u514d\u53bb\u6bcf\u6b21\u63a8\u9001\u90fd\u8981\u8f93\u5165\u8d26\u53f7\u5bc6\u7801\u7684\u70e6\u607c\u3002\u76ee\u524d&#xff0c;Ed25519 \u7b97\u6cd5\u56e0\u5176\u5b89\u5168\u6027\u9ad8\u3001\u751f\u6210\u901f\u5ea6\u5feb&#xff0c;\u5df2\u6210\u4e3a GitHub \u548c Gitee \u5b98\u65b9\u63a8\u8350\u7684\u9996\u9009\u3002<\/p>\n<h4>1. \u68c0\u67e5\u662f\u5426\u5df2\u6709SSH\u5bc6\u94a5<\/h4>\n<p>\u6253\u5f00 Git Bash&#xff0c;\u8f93\u5165 ls -al ~\/.ssh\u3002\u5982\u679c\u770b\u5230 id_rsa.pub \u6216 id_ed25519.pub \u8fd9\u6837\u7684\u6587\u4ef6&#xff0c;\u8bf4\u660e\u5df2\u6709\u5bc6\u94a5&#xff0c;\u53ef\u4ee5\u8df3\u5230\u7b2c3\u6b65\u3002<\/p>\n<h4>2. \u751f\u6210\u5bc6\u94a5<\/h4>\n<p>\u6253\u5f00 Git Bash&#xff0c;\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4&#xff08;\u66ff\u6362\u4e3a\u4f60\u7684\u90ae\u7bb1&#xff09;&#xff1a;<\/p>\n<p>ssh-keygen -t ed25519 -C &#034;\u4f60\u7684Gitee\/GitHub\u90ae\u7bb1&#034;<\/p>\n<p>\u26a0\ufe0f \u6392\u96f7\u65f6\u523b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u63d0\u793a Enter file in which to save the key&#xff08;\u4fdd\u5b58\u8def\u5f84&#xff09;&#xff1a;\u76f4\u63a5\u6309\u56de\u8f66&#xff08;\u5343\u4e07\u522b\u586b\u4ed3\u5e93\u5730\u5740&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u63d0\u793a Enter passphrase&#xff08;\u8bbe\u7f6e\u5bc6\u7801&#xff09;&#xff1a;\u76f4\u63a5\u6309\u4e24\u6b21\u56de\u8f66&#xff08;\u7559\u7a7a&#xff0c;\u4ee5\u540e\u62c9\u53d6\u4ee3\u7801\u65e0\u9700\u8f93\u5bc6\u7801&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u590d\u5236\u5e76\u6dfb\u52a0\u516c\u94a5<\/h4>\n<p>\u6267\u884c\u547d\u4ee4\u67e5\u770b\u5e76\u590d\u5236\u516c\u94a5\u5185\u5bb9&#xff1a;<\/p>\n<p>cat ~\/.ssh\/id_ed25519.pub<\/p>\n<p>\u7ec8\u7aef\u4f1a\u8f93\u51fa\u4e00\u957f\u4e32\u4ee5 ssh-ed25519 \u5f00\u5934\u7684\u5b57\u7b26&#xff0c;\u5b8c\u6574\u590d\u5236\u3002\u767b\u5f55 Gitee\/GitHub&#xff0c;\u8fdb\u5165 \u8bbe\u7f6e -&gt; SSH \u516c\u94a5&#xff0c;\u7c98\u8d34\u5e76\u4fdd\u5b58\u3002<\/p>\n<h4>4. \u590d\u5236\u5e76\u6dfb\u52a0\u516c\u94a5<\/h4>\n<ul>\n<li>\n<p>\u767b\u5f55 Gitee \u7f51\u7ad9\u3002<\/p>\n<\/li>\n<li>\n<p>\u70b9\u51fb\u53f3\u4e0a\u89d2\u4f60\u7684\u5934\u50cf&#xff0c;\u9009\u62e9 \u8bbe\u7f6e\u3002<\/p>\n<\/li>\n<li>\n<p>\u5728\u5de6\u4fa7\u83dc\u5355\u680f\u627e\u5230\u5e76\u70b9\u51fb SSH \u516c\u94a5\u3002<\/p>\n<\/li>\n<li>\n<p>\u5728\u201c\u6dfb\u52a0\u516c\u94a5\u201d\u533a\u57df&#xff0c;\u6807\u9898\u968f\u4fbf\u586b&#xff08;\u6bd4\u5982\u201c\u6211\u7684\u7535\u8111\u201d&#xff09;&#xff0c;\u516c\u94a5\u6846\u91cc\u7c98\u8d34\u4f60\u521a\u624d\u590d\u5236\u7684\u90a3\u4e00\u5927\u6bb5\u5b57\u7b26\u4e32\u3002<\/p>\n<\/li>\n<li>\n<p>\u70b9\u51fb \u786e\u5b9a&#xff08;\u6b64\u65f6\u53ef\u80fd\u9700\u8981\u4f60\u8f93\u5165 Gitee \u7684\u767b\u5f55\u5bc6\u7801\u6765\u786e\u8ba4&#xff09;<\/p>\n<\/li>\n<\/ul>\n<h4>5. \u9a8c\u8bc1\u8fde\u63a5<\/h4>\n<p>\u5728\u7ec8\u7aef\u8f93\u5165&#xff1a;<\/p>\n<p>ssh -T git&#064;gitee.com  # \u6216 git&#064;github.com<\/p>\n<p>\u5982\u679c\u63d0\u793a Hi \u4f60\u7684\u7528\u6237\u540d! You&#039;ve successfully authenticated, but GITEE.COM does not provide shell access. \u6216\u8005\u8be2\u95ee\u4f60\u662f\u5426\u7ee7\u7eed\u8fde\u63a5\u8f93\u5165 yes&#xff0c;\u5c31\u8bf4\u660e\u914d\u7f6e\u6210\u529f\u4e86&#xff01;<\/p>\n<hr \/>\n<h3>&#x1f4bb; \u4e8c\u3001 TortoiseGit \u56fe\u5f62\u5316\u5de5\u5177\u7684\u7ec8\u6781\u6392\u96f7<\/h3>\n<p>\u5f88\u591a\u5f00\u53d1\u8005\u4e60\u60ef\u7528 TortoiseGit&#xff08;\u5c0f\u4e4c\u9f9f&#xff09;\u53f3\u952e\u83dc\u5355\u64cd\u4f5c&#xff0c;\u4f46\u6781\u6613\u9047\u5230\u8fd9\u4e2a\u7ecf\u5178\u62a5\u9519&#xff1a;<\/p>\n<p>No supported authentication methods available (server sent: publickey)<\/p>\n<p>\u539f\u56e0&#xff1a;TortoiseGit \u9ed8\u8ba4\u4f7f\u7528\u81ea\u5df1\u7684 SSH \u5ba2\u6237\u7aef&#xff08;PuTTY&#xff09;&#xff0c;\u800c\u6211\u4eec\u521a\u751f\u6210\u7684\u662f OpenSSH \u683c\u5f0f\u7684\u5bc6\u94a5&#xff0c;\u4e24\u8005\u4e0d\u517c\u5bb9\u3002<br \/>\n\u89e3\u51b3\u6b65\u9aa4&#xff1a;<\/p>\n<li>\n<p>\u53f3\u952e\u684c\u9762\u7a7a\u767d\u5904 -&gt; TortoiseGit -&gt; Settings\u3002<\/p>\n<\/li>\n<li>\n<p>\u5de6\u4fa7\u9009\u62e9 Network\u3002<\/p>\n<\/li>\n<li>\n<p>\u5c06\u53f3\u4fa7\u7684 SSH Client \u8def\u5f84\u4fee\u6539\u4e3a Git \u81ea\u5e26\u7684\u5ba2\u6237\u7aef&#xff1a;<\/p>\n<p>C:\\\\Program Files\\\\Git\\\\usr\\\\bin\\\\ssh.exe\n<\/li>\n<li>\n<p>\u70b9\u51fb Apply \u4fdd\u5b58\u3002\u518d\u6b21\u63a8\u9001&#xff0c;\u4e1d\u6ed1\u901a\u8fc7\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>\u26a0\ufe0f \u4e09\u3001 \u8e29\u5751\u6392\u67e5\u6392\u96f7&#xff1a;Clone \u9047\u5230\u76ee\u5f55\u975e\u7a7a<\/h3>\n<p>\u5982\u679c\u4f60\u5728\u5df2\u5b58\u5728\u7684\u6587\u4ef6\u5939\u91cc\u76f4\u63a5\u6267\u884c git clone&#xff0c;Git \u4f1a\u76f4\u63a5\u62a5\u9519\u5e76\u4e2d\u6b62\u64cd\u4f5c&#xff1a;<\/p>\n<p>fatal: destination path &#039;&#8230;&#039; already exists and is not an empty directory.<\/p>\n<p>\u522b\u614c&#xff0c;\u4f60\u7684\u6587\u4ef6\u7edd\u5bf9\u4e0d\u4f1a\u4e22\u5931&#xff01; \u6839\u636e\u4f60\u7684\u60c5\u51b5\u9009\u62e9\u4ee5\u4e0b\u65b9\u6848&#xff1a;<\/p>\n<h5>\u60c5\u51b5 A&#xff1a;\u6587\u4ef6\u5939\u91cc\u5168\u662f\u5783\u573e \/ \u4e0a\u6b21\u5931\u8d25\u7684\u6b8b\u7559<\/h5>\n<p>\u5982\u679c\u4f60\u786e\u5b9a\u91cc\u9762\u7684\u6587\u4ef6\u4e0d\u9700\u8981\u4e86&#xff0c;\u76f4\u63a5\u624b\u52a8\u5220\u9664\u8be5\u6587\u4ef6\u5939&#xff0c;\u7136\u540e\u91cd\u65b0\u6267\u884c\u4f60\u7684 git clone \u547d\u4ee4\u3002<\/p>\n<h5>\u60c5\u51b5 B&#xff1a;\u91cc\u9762\u6709\u672c\u5730\u91cd\u8981\u4ee3\u7801&#xff0c;\u9700\u8981\u5408\u5e76<\/h5>\n<p>\u5343\u4e07\u522b\u76f4\u63a5\u7528 clone \u8986\u76d6&#xff01;<\/p>\n<li>\n<p>\u5148\u628a\u672c\u5730\u6587\u4ef6\u5939\u91cd\u547d\u540d\u5907\u4efd&#xff08;\u5982 _backup&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u6b63\u5e38\u6267\u884c git clone \u4e0b\u8f7d\u5168\u65b0\u4ed3\u5e93\u3002<\/p>\n<\/li>\n<li>\n<p>\u628a\u5907\u4efd\u6587\u4ef6\u5939\u91cc\u7684\u91cd\u8981\u4ee3\u7801&#xff0c;\u624b\u52a8\u590d\u5236\u5230\u65b0\u514b\u9686\u7684\u4ed3\u5e93\u91cc\u3002<\/p>\n<\/li>\n<h5>\u60c5\u51b5 C&#xff1a;\u8fd9\u4e2a\u6587\u4ef6\u5939\u672c\u8eab\u5c31\u662f\u4e2a Git \u4ed3\u5e93&#xff08;\u6709 .git \u9690\u85cf\u6587\u4ef6\u5939&#xff09;<\/h5>\n<p>\u5982\u679c\u4f60\u4e4b\u524d\u5c31\u514b\u9686\u8fc7&#xff0c;\u53ea\u662f\u91cd\u88c5\u4e86\u7cfb\u7edf&#xff0c;\u6839\u672c\u4e0d\u9700\u8981\u91cd\u65b0 clone&#xff01;<\/p>\n<li>\n<p>\u5728\u7ec8\u7aef cd \u8fdb\u5165\u8be5\u6587\u4ef6\u5939\u3002<\/p>\n<\/li>\n<li>\n<p>\u68c0\u67e5\u8fdc\u7a0b\u8fde\u63a5\u662f\u5426\u8fd8\u5728&#xff1a;git remote -v\u3002<\/p>\n<\/li>\n<li>\n<p>\u5982\u679c\u80fd\u770b\u5230 origin \u5730\u5740&#xff0c;\u76f4\u63a5\u62c9\u53d6\u6700\u65b0\u4ee3\u7801\u5373\u53ef&#xff1a;<\/p>\n<p>git pull origin master  # \u6216 git pull origin main\n<\/li>\n<li>\n<p>\u5982\u679c\u63d0\u793a\u6ca1\u6709\u6743\u9650&#xff0c;\u53ea\u9700\u6309\u7b2c\u4e00\u6b65\u91cd\u65b0\u914d\u7f6e\u4e00\u6b21 SSH \u516c\u94a5\u5373\u53ef\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>&#x1f6e1;\ufe0f \u56db\u3001 \u4ed3\u5e93\u9632\u6c61\u67d3&#xff1a;.gitignore \u7684\u91cd\u8981\u6027<\/h3>\n<p>\u5728\u63d0\u4ea4\u4ee3\u7801\u524d&#xff0c;\u5982\u679c\u8bef\u5c06\u865a\u62df\u73af\u5883&#xff08;.venv&#xff09;\u548c IDE \u914d\u7f6e&#xff08;.idea&#xff09;\u63d0\u4ea4&#xff0c;\u4f1a\u5bfc\u81f4\u4ed3\u5e93\u6781\u5176\u81c3\u80bf&#xff0c;\u4e14\u5728\u4e0d\u540c\u7535\u8111\u95f4\u5f15\u53d1\u8def\u5f84\u51b2\u7a81\u3002<\/p>\n<p>\u5728\u9879\u76ee\u6839\u76ee\u5f55\u65b0\u5efa .gitignore \u6587\u4ef6&#xff0c;\u586b\u5165\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p># \u5ffd\u7565\u865a\u62df\u73af\u5883<br \/>\n.venv\/<br \/>\nvenv\/<\/p>\n<p># \u5ffd\u7565 IDE \u914d\u7f6e<br \/>\n.idea\/<br \/>\n.vscode\/<\/p>\n<p># \u5ffd\u7565 Python \u7f13\u5b58<br \/>\n__pycache__\/<br \/>\n*.pyc<\/p>\n<p># \u5ffd\u7565\u73af\u5883\u53d8\u91cf&#xff08;\u4fdd\u62a4 API Key&#xff09;<br \/>\n.env<\/p>\n<ul>\n<li>\n<p>\u5982\u679c\u5df2\u7ecf\u8bef\u63d0\u4ea4&#xff1a;\u5728\u7ec8\u7aef\u6267\u884c git rm -r &#8211;cached .venv .idea \u6e05\u9664\u7248\u672c\u63a7\u5236\u7f13\u5b58&#xff08;\u4e0d\u4f1a\u5220\u9664\u672c\u5730\u6587\u4ef6&#xff09;&#xff0c;\u7136\u540e\u91cd\u65b0 Commit\u3002<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f4cc; \u6838\u5fc3\u7ed3\u8bba&#xff08;TL;DR&#xff09;\u9996\u9009 Ed25519&#xff1a;\u653e\u5f03\u4f20\u7edf\u7684 RSA \u7b97\u6cd5&#xff0c;\u4f7f\u7528\u66f4\u5b89\u5168\u3001\u66f4\u7b80\u77ed\u7684 ed25519 \u7b97\u6cd5\u751f\u6210 SSH \u5bc6\u94a5&#xff0c;\u914d\u7f6e\u65f6\u63d0\u793a\u4fdd\u5b58\u8def\u5f84\u548c\u5bc6\u7801&#xff0c;\u4e00\u5f8b\u76f4\u63a5\u6309\u56de\u8f66\u3002\u56fe\u5f62\u5316\u5de5\u5177\u6392\u96f7&#xff1a;TortoiseGit&#xff08;\u5c0f\u4e4c\u9f9f&#xff09;\u9ed8\u8ba4\u7684 PuTTY \u5ba2\u6237\u7aef\u4e0e Git \u539f\u751f\u7684 OpenSSH \u5bc6\u94a5\u4e0d\u517c\u5bb9&#xff0c;\u9047\u5230 publickey<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[89,58,371,305,44],"topic":[],"class_list":["post-120895","post","type-post","status-publish","format-standard","hentry","category-server","tag-git","tag-linux","tag-371","tag-305","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/120895.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"&#x1f4cc; \u6838\u5fc3\u7ed3\u8bba&#xff08;TL;DR&#xff09;\u9996\u9009 Ed25519&#xff1a;\u653e\u5f03\u4f20\u7edf\u7684 RSA \u7b97\u6cd5&#xff0c;\u4f7f\u7528\u66f4\u5b89\u5168\u3001\u66f4\u7b80\u77ed\u7684 ed25519 \u7b97\u6cd5\u751f\u6210 SSH \u5bc6\u94a5&#xff0c;\u914d\u7f6e\u65f6\u63d0\u793a\u4fdd\u5b58\u8def\u5f84\u548c\u5bc6\u7801&#xff0c;\u4e00\u5f8b\u76f4\u63a5\u6309\u56de\u8f66\u3002\u56fe\u5f62\u5316\u5de5\u5177\u6392\u96f7&#xff1a;TortoiseGit&#xff08;\u5c0f\u4e4c\u9f9f&#xff09;\u9ed8\u8ba4\u7684 PuTTY \u5ba2\u6237\u7aef\u4e0e Git \u539f\u751f\u7684 OpenSSH \u5bc6\u94a5\u4e0d\u517c\u5bb9&#xff0c;\u9047\u5230 publickey\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/120895.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-01T11:16:50+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/120895.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/120895.html\",\"name\":\"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-01T11:16:50+00:00\",\"dateModified\":\"2026-11-01T11:16:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/120895.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/120895.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/120895.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/120895.html","og_locale":"zh_CN","og_type":"article","og_title":"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"&#x1f4cc; \u6838\u5fc3\u7ed3\u8bba&#xff08;TL;DR&#xff09;\u9996\u9009 Ed25519&#xff1a;\u653e\u5f03\u4f20\u7edf\u7684 RSA \u7b97\u6cd5&#xff0c;\u4f7f\u7528\u66f4\u5b89\u5168\u3001\u66f4\u7b80\u77ed\u7684 ed25519 \u7b97\u6cd5\u751f\u6210 SSH \u5bc6\u94a5&#xff0c;\u914d\u7f6e\u65f6\u63d0\u793a\u4fdd\u5b58\u8def\u5f84\u548c\u5bc6\u7801&#xff0c;\u4e00\u5f8b\u76f4\u63a5\u6309\u56de\u8f66\u3002\u56fe\u5f62\u5316\u5de5\u5177\u6392\u96f7&#xff1a;TortoiseGit&#xff08;\u5c0f\u4e4c\u9f9f&#xff09;\u9ed8\u8ba4\u7684 PuTTY \u5ba2\u6237\u7aef\u4e0e Git \u539f\u751f\u7684 OpenSSH \u5bc6\u94a5\u4e0d\u517c\u5bb9&#xff0c;\u9047\u5230 publickey","og_url":"https:\/\/www.wsisp.com\/helps\/120895.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-01T11:16:50+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/120895.html","url":"https:\/\/www.wsisp.com\/helps\/120895.html","name":"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-01T11:16:50+00:00","dateModified":"2026-11-01T11:16:50+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/120895.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/120895.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/120895.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"[Git \u5b9e\u6218] \u5b66\u4e60\u7b14\u8bb0\uff1a\u4ece\u751f\u6210 SSH \u5bc6\u94a5\u5230\u89e3\u51b3 TortoiseGit \u63a8\u9001\u62a5\u9519\u5168\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/120895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=120895"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/120895\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=120895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=120895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=120895"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=120895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}