{"id":122389,"date":"2026-11-04T20:49:51","date_gmt":"2026-11-04T12:49:51","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/122389.html"},"modified":"2026-11-04T20:49:51","modified_gmt":"2026-11-04T12:49:51","slug":"%e4%bb%8e%e9%9b%b6%e5%bc%80%e5%a7%8b%ef%bc%9awindows-%e8%bf%9e%e6%8e%a5-linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%9a%84-ssh-%e5%85%8d%e5%af%86%e7%99%bb%e5%bd%95%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/122389.html","title":{"rendered":"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<p>\u9002\u5408 Windows \u7528\u6237\u3001VPS \u7528\u6237\u3001VS Code Remote &#8211; SSH \u7528\u6237\u3002<br \/>\n\u672c\u6587\u5df2\u8131\u654f&#xff0c;\u6240\u6709 IP\u3001\u8d26\u53f7\u3001\u5bc6\u7801\u3001\u516c\u94a5\u5747\u4e3a\u793a\u4f8b\u5199\u6cd5\u3002<\/p>\n<h3>\u4e00\u3001\u8fd9\u7bc7\u6559\u7a0b\u80fd\u5e2e\u4f60\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898<\/h3>\n<p>\u5f88\u591a\u4eba\u5728\u7b2c\u4e00\u6b21\u8fde\u63a5 Linux \u670d\u52a1\u5668\u65f6&#xff0c;\u90fd\u4f1a\u9047\u5230\u8fd9\u4e9b\u70e6\u4eba\u7684\u60c5\u51b5&#xff1a;<\/p>\n<ul>\n<li>\u6bcf\u6b21 SSH \u767b\u5f55\u90fd\u8981\u91cd\u590d\u8f93\u5165\u5bc6\u7801<\/li>\n<li>VS Code Remote &#8211; SSH \u603b\u662f\u63d0\u793a\u8f93\u5165\u5bc6\u7801&#xff0c;\u751a\u81f3\u8fde\u63a5\u8d85\u65f6<\/li>\n<li>\u4e00\u53f0\u670d\u52a1\u5668\u80fd\u8fde&#xff0c;\u591a\u53f0\u670d\u52a1\u5668\u4e4b\u540e .ssh\/config \u5f00\u59cb\u6df7\u4e71<\/li>\n<li>\u660e\u660e\u5df2\u7ecf\u914d\u4e86\u5bc6\u94a5&#xff0c;\u4f46\u8fd8\u662f\u51fa\u73b0 Permission denied (publickey,password)<\/li>\n<\/ul>\n<p>\u8fd9\u7bc7\u6559\u7a0b\u7684\u76ee\u6807\u5f88\u660e\u786e&#xff1a;<\/p>\n<ul>\n<li>\u8ba9 Windows \u672c\u673a\u53ef\u4ee5\u901a\u8fc7 SSH \u514d\u5bc6\u767b\u5f55 Linux \u670d\u52a1\u5668<\/li>\n<li>\u8ba9 VS Code \u76f4\u63a5\u590d\u7528\u8fd9\u5957 SSH \u914d\u7f6e<\/li>\n<li>\u8ba9\u540e\u7eed\u65b0\u589e\u670d\u52a1\u5668\u65f6\u4e5f\u80fd\u6309\u540c\u6837\u7684\u65b9\u6cd5\u7ee7\u7eed\u7ba1\u7406<\/li>\n<\/ul>\n<p>\u5b8c\u6210\u540e&#xff0c;\u4f60\u5e94\u8be5\u53ef\u4ee5\u76f4\u63a5\u8fd9\u6837\u8fde\u63a5&#xff1a;<\/p>\n<p>ssh my-server-name<\/p>\n<p>\u800c\u4e0d\u9700\u8981\u518d\u4e00\u904d\u904d\u8f93\u5165\u5bc6\u7801\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u4f18\u5148\u5728 VS Code \u91cc\u5b89\u88c5 Remote &#8211; SSH<\/h3>\n<p>\u5982\u679c\u4f60\u7684\u4e3b\u8981\u76ee\u6807\u662f\u901a\u8fc7 VS Code \u8fde\u63a5\u670d\u52a1\u5668&#xff0c;\u90a3\u4e48\u6700\u63a8\u8350\u5148\u628a VS Code \u8fd9\u6761\u94fe\u8def\u51c6\u5907\u597d\u3002<\/p>\n<h4>\u7b2c\u4e00\u6b65&#xff1a;\u5b89\u88c5 VS Code \u6269\u5c55<\/h4>\n<p>\u6253\u5f00 VS Code \u540e&#xff1a;<\/p>\n<li>\u70b9\u51fb\u5de6\u4fa7\u6269\u5c55\u6309\u94ae<\/li>\n<li>\u641c\u7d22 Remote &#8211; SSH<\/li>\n<li>\u5b89\u88c5\u6269\u5c55 Remote &#8211; SSH<\/li>\n<p>\u4f60\u4e5f\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u5b89\u88c5&#xff1a;<\/p>\n<p>code <span class=\"token operator\">&#8212;<\/span><span class=\"token function\">install-extension<\/span> ms-vscode-remote<span class=\"token punctuation\">.<\/span>remote-ssh<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;VS Code \u5c31\u5177\u5907\u4e86\u8fdc\u7a0b\u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684\u80fd\u529b\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u68c0\u67e5\u672c\u673a\u662f\u5426\u5df2\u6709 OpenSSH&#xff0c;\u6ca1\u88c5\u518d\u8865<\/h3>\n<p>\u5b89\u88c5\u4e86 Remote &#8211; SSH \u4e4b\u540e&#xff0c;\u901a\u5e38\u4ecd\u7136\u9700\u8981\u672c\u673a\u5177\u5907\u53ef\u7528\u7684 OpenSSH Client\u3002<\/p>\n<p>\u66f4\u51c6\u786e\u5730\u8bf4&#xff1a;<\/p>\n<ul>\n<li>Remote &#8211; SSH \u8d1f\u8d23 VS Code \u7684\u8fdc\u7a0b\u5de5\u4f5c\u6d41<\/li>\n<li>OpenSSH Client \u8d1f\u8d23\u672c\u673a\u771f\u6b63\u53d1\u8d77 SSH \u8fde\u63a5<\/li>\n<\/ul>\n<p>\u6240\u4ee5\u63a8\u8350\u987a\u5e8f\u662f&#xff1a;<\/p>\n<li>\u5148\u5b89\u88c5 Remote &#8211; SSH<\/li>\n<li>\u518d\u6267\u884c ssh -V \u68c0\u67e5\u672c\u673a\u662f\u5426\u5df2\u6709 OpenSSH<\/li>\n<li>\u5982\u679c\u6ca1\u6709&#xff0c;\u518d\u8865\u88c5 OpenSSH Client<\/li>\n<h4>\u5b89\u88c5\u65b9\u6cd5 1&#xff1a;\u901a\u8fc7 Windows \u53ef\u9009\u529f\u80fd\u5b89\u88c5<\/h4>\n<li>\u6253\u5f00 \u8bbe\u7f6e<\/li>\n<li>\u8fdb\u5165 \u5e94\u7528<\/li>\n<li>\u70b9\u51fb \u53ef\u9009\u529f\u80fd<\/li>\n<li>\u641c\u7d22 OpenSSH Client<\/li>\n<li>\u70b9\u51fb\u5b89\u88c5<\/li>\n<h4>\u5b89\u88c5\u65b9\u6cd5 2&#xff1a;\u901a\u8fc7 PowerShell \u5b89\u88c5<\/h4>\n<p>\u4ee5\u7ba1\u7406\u5458\u8eab\u4efd\u6253\u5f00 PowerShell&#xff0c;\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">Add-WindowsCapability<\/span> <span class=\"token operator\">&#8211;<\/span>Online <span class=\"token operator\">&#8211;<\/span>Name OpenSSH<span class=\"token punctuation\">.<\/span>Client~~~~0<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>1<span class=\"token punctuation\">.<\/span>0<\/p>\n<h4>\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5\u6210\u529f<\/h4>\n<p>\u5728 PowerShell \u4e2d\u6267\u884c&#xff1a;<\/p>\n<p>ssh <span class=\"token operator\">&#8211;<\/span>V<\/p>\n<p>\u5982\u679c\u80fd\u770b\u5230\u7c7b\u4f3c\u4e0b\u9762\u7684\u8f93\u51fa&#xff0c;\u8bf4\u660e\u5df2\u7ecf\u5b89\u88c5\u6210\u529f&#xff1a;<\/p>\n<p>OpenSSH_for_Windows_9.x<\/p>\n<hr \/>\n<h3>\u56db\u3001\u51c6\u5907\u5de5\u4f5c<\/h3>\n<p>\u4f60\u9700\u8981\u51c6\u5907\u4e0b\u9762\u8fd9\u4e9b\u4fe1\u606f&#xff1a;<\/p>\n<ul>\n<li>\u670d\u52a1\u5668\u516c\u7f51 IP<\/li>\n<li>SSH \u7aef\u53e3&#xff0c;\u901a\u5e38\u662f 22<\/li>\n<li>\u670d\u52a1\u5668\u7528\u6237\u540d&#xff0c;\u901a\u5e38\u662f root<\/li>\n<li>\u5f53\u524d\u4ecd\u53ef\u7528\u7684\u767b\u5f55\u5bc6\u7801<\/li>\n<li>\u4e00\u53f0 Windows \u7535\u8111<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e94\u3001\u5728\u672c\u673a\u751f\u6210 SSH \u5bc6\u94a5<\/h3>\n<p>\u5efa\u8bae\u4f7f\u7528 PowerShell&#xff0c;\u4e0d\u8981\u5728 CMD \u4e2d\u76f4\u63a5\u4f7f\u7528 $HOME\u3002<\/p>\n<p>\u6267\u884c&#xff1a;<\/p>\n<p>ssh-keygen <span class=\"token operator\">&#8211;<\/span>t ed25519 <span class=\"token operator\">&#8211;<\/span>f <span class=\"token variable\">$HOME<\/span>\\\\<span class=\"token punctuation\">.<\/span>ssh\\\\id_ed25519_my_server <span class=\"token operator\">&#8211;<\/span>N <span class=\"token string\">&#039;&#039;<\/span><\/p>\n<h4>\u53c2\u6570\u89e3\u91ca<\/h4>\n<ul>\n<li>-t ed25519&#xff1a;\u751f\u6210\u73b0\u4ee3\u4e14\u901a\u7528\u7684 SSH \u5bc6\u94a5\u7c7b\u578b<\/li>\n<li>-f&#xff1a;\u6307\u5b9a\u5bc6\u94a5\u6587\u4ef6\u4f4d\u7f6e<\/li>\n<li>-N &#039;&#039;&#xff1a;\u628a\u79c1\u94a5\u5bc6\u7801\u8bbe\u7f6e\u4e3a\u7a7a&#xff0c;\u65b9\u4fbf\u514d\u5bc6\u767b\u5f55<\/li>\n<\/ul>\n<p>\u6267\u884c\u6210\u529f\u540e&#xff0c;\u901a\u5e38\u4f1a\u751f\u6210\u4e24\u4e2a\u6587\u4ef6&#xff1a;<\/p>\n<p>C:\\\\Users\\\\\u4f60\u7684\u7528\u6237\u540d\\\\.ssh\\\\id_ed25519_my_server<br \/>\nC:\\\\Users\\\\\u4f60\u7684\u7528\u6237\u540d\\\\.ssh\\\\id_ed25519_my_server.pub<\/p>\n<p>\u5176\u4e2d&#xff1a;<\/p>\n<ul>\n<li>.pub \u7ed3\u5c3e\u7684\u662f\u516c\u94a5&#xff0c;\u53ef\u4ee5\u653e\u5230\u670d\u52a1\u5668\u4e0a<\/li>\n<li>\u4e0d\u5e26 .pub \u7684\u662f\u79c1\u94a5&#xff0c;\u5fc5\u987b\u4fdd\u5b58\u5728\u672c\u673a&#xff0c;\u4e0d\u8981\u6cc4\u9732<\/li>\n<\/ul>\n<p>\u67e5\u770b\u516c\u94a5\u5185\u5bb9&#xff1a;<\/p>\n<p><span class=\"token function\">type<\/span> <span class=\"token variable\">$HOME<\/span>\\\\<span class=\"token punctuation\">.<\/span>ssh\\\\id_ed25519_my_server<span class=\"token punctuation\">.<\/span>pub<\/p>\n<p>\u4f60\u4f1a\u770b\u5230\u7c7b\u4f3c&#xff1a;<\/p>\n<p>ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI&#8230;&#8230; yourname&#064;your-pc<\/p>\n<p>\u540e\u9762\u8981\u628a\u8fd9\u6574\u884c\u590d\u5236\u5230\u670d\u52a1\u5668\u4e0a\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u628a\u516c\u94a5\u653e\u5230 Linux \u670d\u52a1\u5668\u4e0a<\/h3>\n<p>\u5148\u901a\u8fc7\u5bc6\u7801\u65b9\u5f0f\u6b63\u5e38\u767b\u5f55\u670d\u52a1\u5668&#xff0c;\u7136\u540e\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u3002<\/p>\n<h4>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f root<\/h4>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/root\/.ssh<br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">700<\/span> \/root\/.ssh<br \/>\n<span class=\"token builtin class-name\">printf<\/span> <span class=\"token string\">&#039;%s\\\\n&#039;<\/span> <span class=\"token string\">&#039;\u8fd9\u91cc\u66ff\u6362\u6210\u4f60\u7684\u6574\u884c\u516c\u94a5&#039;<\/span> <span class=\"token operator\">&gt;&gt;<\/span> \/root\/.ssh\/authorized_keys<br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">600<\/span> \/root\/.ssh\/authorized_keys<br \/>\n<span class=\"token function\">chown<\/span> <span class=\"token parameter variable\">-R<\/span> root:root \/root\/.ssh<\/p>\n<h4>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f\u666e\u901a\u7528\u6237<\/h4>\n<p>\u628a \/root \u66ff\u6362\u6210\u5bf9\u5e94\u7528\u6237\u76ee\u5f55&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/home\/youruser\/.ssh<br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">700<\/span> \/home\/youruser\/.ssh<br \/>\n<span class=\"token builtin class-name\">printf<\/span> <span class=\"token string\">&#039;%s\\\\n&#039;<\/span> <span class=\"token string\">&#039;\u8fd9\u91cc\u66ff\u6362\u6210\u4f60\u7684\u6574\u884c\u516c\u94a5&#039;<\/span> <span class=\"token operator\">&gt;&gt;<\/span> \/home\/youruser\/.ssh\/authorized_keys<br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">600<\/span> \/home\/youruser\/.ssh\/authorized_keys<br \/>\n<span class=\"token function\">chown<\/span> <span class=\"token parameter variable\">-R<\/span> youruser:youruser \/home\/youruser\/.ssh<\/p>\n<h4>\u4e3a\u4ec0\u4e48\u8fd9\u4e9b\u6743\u9650\u5f88\u91cd\u8981<\/h4>\n<p>SSH \u5bf9\u6743\u9650\u6bd4\u8f83\u4e25\u683c\u3002<br \/>\n\u5982\u679c\u6743\u9650\u4e0d\u6b63\u786e&#xff0c;\u5373\u4f7f\u516c\u94a5\u5185\u5bb9\u6ca1\u95ee\u9898&#xff0c;\u4e5f\u53ef\u80fd\u767b\u5f55\u5931\u8d25\u3002<\/p>\n<p>\u6700\u5e38\u89c1\u8981\u6c42\u662f&#xff1a;<\/p>\n<ul>\n<li>.ssh \u76ee\u5f55&#xff1a;700<\/li>\n<li>authorized_keys \u6587\u4ef6&#xff1a;600<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e03\u3001\u786e\u8ba4\u670d\u52a1\u5668\u5141\u8bb8\u516c\u94a5\u767b\u5f55<\/h3>\n<p>\u5927\u90e8\u5206 Debian\u3001Ubuntu \u9ed8\u8ba4\u90fd\u5141\u8bb8&#xff0c;\u4f46\u5982\u679c\u4f60\u6539\u8fc7 SSH \u914d\u7f6e&#xff0c;\u6700\u597d\u786e\u8ba4\u4e00\u4e0b\u3002<\/p>\n<p>\u6267\u884c&#xff1a;<\/p>\n<p>sshd <span class=\"token parameter variable\">-T<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-E<\/span> <span class=\"token string\">&#039;pubkeyauthentication|passwordauthentication|permitrootlogin|authorizedkeysfile&#039;<\/span><\/p>\n<p>\u63a8\u8350\u7ed3\u679c\u91cc\u81f3\u5c11\u5e94\u5305\u542b&#xff1a;<\/p>\n<p>pubkeyauthentication yes<br \/>\nauthorizedkeysfile .ssh\/authorized_keys<\/p>\n<p>\u5982\u679c\u4f60\u8981\u663e\u5f0f\u5f00\u542f root \u516c\u94a5\u767b\u5f55&#xff0c;\u53ef\u4ee5\u989d\u5916\u5199\u4e00\u4e2a\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/etc\/ssh\/sshd_config.d<br \/>\n<span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;<\/span>\/etc\/ssh\/sshd_config.d\/99-key-login.conf <span class=\"token operator\">&lt;&lt;<\/span><span class=\"token string\">&#039;EOF&#039;<br \/>\nPubkeyAuthentication yes<br \/>\nPasswordAuthentication yes<br \/>\nPermitRootLogin yes<br \/>\nAuthorizedKeysFile .ssh\/authorized_keys<br \/>\nEOF<\/span><\/p>\n<p>\u7136\u540e\u6d4b\u8bd5\u914d\u7f6e\u5e76\u91cd\u542f SSH&#xff1a;<\/p>\n<p>sshd <span class=\"token parameter variable\">-t<\/span> <span class=\"token operator\">&amp;&amp;<\/span> <span class=\"token punctuation\">(<\/span>systemctl restart <span class=\"token function\">ssh<\/span> <span class=\"token operator\">||<\/span> systemctl restart sshd<span class=\"token punctuation\">)<\/span><\/p>\n<hr \/>\n<h3>\u516b\u3001\u5728 Windows \u672c\u673a\u914d\u7f6e SSH \u522b\u540d<\/h3>\n<p>\u7f16\u8f91\u8fd9\u4e2a\u6587\u4ef6&#xff1a;<\/p>\n<p>C:\\\\Users\\\\\u4f60\u7684\u7528\u6237\u540d\\\\.ssh\\\\config<\/p>\n<p>\u52a0\u5165\u4e0b\u9762\u8fd9\u6bb5&#xff1a;<\/p>\n<p>Host my-server<br \/>\n    HostName \u670d\u52a1\u5668\u516c\u7f51IP<br \/>\n    User root<br \/>\n    Port 22<br \/>\n    IdentityFile ~\/.ssh\/id_ed25519_my_server<\/p>\n<h4>\u793a\u4f8b<\/h4>\n<p>Host my-server<br \/>\n    HostName 1.2.3.4<br \/>\n    User root<br \/>\n    Port 22<br \/>\n    IdentityFile ~\/.ssh\/id_ed25519_my_server<\/p>\n<p>\u8fd9\u6837\u4ee5\u540e\u4f60\u5c31\u53ef\u4ee5\u628a&#xff1a;<\/p>\n<p>ssh root&#064;1<span class=\"token punctuation\">.<\/span>2<span class=\"token punctuation\">.<\/span>3<span class=\"token punctuation\">.<\/span>4<\/p>\n<p>\u7b80\u5316\u6210&#xff1a;<\/p>\n<p>ssh my-server<\/p>\n<p>\u5982\u679c\u4f60\u540e\u7eed\u6709\u591a\u53f0\u670d\u52a1\u5668&#xff0c;\u4e5f\u53ef\u4ee5\u7ee7\u7eed\u5f80\u8fd9\u4e2a\u6587\u4ef6\u91cc\u6dfb\u52a0\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u9996\u6b21\u9a8c\u8bc1 SSH \u514d\u5bc6\u767b\u5f55<\/h3>\n<p>\u7b2c\u4e00\u6b21\u8fde\u63a5\u65f6&#xff0c;\u5efa\u8bae\u8fd9\u6837\u6267\u884c&#xff1a;<\/p>\n<p>ssh <span class=\"token operator\">&#8211;<\/span>o StrictHostKeyChecking&#061;accept-new my-server <span class=\"token string\">&#034;echo SSH_OK&#034;<\/span><\/p>\n<p>\u5982\u679c\u6210\u529f&#xff0c;\u4f60\u4f1a\u770b\u5230&#xff1a;<\/p>\n<p>SSH_OK<\/p>\n<p>\u7136\u540e\u518d\u6b63\u5f0f\u767b\u5f55&#xff1a;<\/p>\n<p>ssh my-server<\/p>\n<p>\u5982\u679c\u4e0d\u518d\u63d0\u793a\u8f93\u5165\u5bc6\u7801&#xff0c;\u8bf4\u660e\u514d\u5bc6\u5df2\u7ecf\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<hr \/>\n<h3>\u5341\u3001\u5728 VS Code \u4e2d\u8fde\u63a5\u670d\u52a1\u5668<\/h3>\n<p>\u5f53\u4e0a\u9762\u7684 SSH \u5df2\u7ecf\u6253\u901a\u4e4b\u540e&#xff0c;VS Code \u7684\u4f7f\u7528\u4f1a\u5f88\u987a\u3002<\/p>\n<h4>\u4f7f\u7528\u65b9\u5f0f<\/h4>\n<li>\u6253\u5f00 VS Code<\/li>\n<li>\u6253\u5f00\u547d\u4ee4\u9762\u677f<\/li>\n<li>\u9009\u62e9 Remote-SSH: Connect to Host&#8230;<\/li>\n<li>\u9009\u62e9\u4f60\u914d\u7f6e\u597d\u7684 my-server<\/li>\n<h4>\u4e3a\u4ec0\u4e48\u63a8\u8350\u5148\u914d SSH \u518d\u8fdb VS Code<\/h4>\n<p>\u56e0\u4e3a VS Code Remote &#8211; SSH \u6700\u7ec8\u8fd8\u662f\u8c03\u7528\u672c\u673a SSH\u3002<br \/>\n\u6240\u4ee5\u5982\u679c\u4e0b\u9762\u8fd9\u6761\u547d\u4ee4\u5df2\u7ecf\u6b63\u5e38&#xff1a;<\/p>\n<p>ssh my-server <span class=\"token string\">&#034;echo OK&#034;<\/span><\/p>\n<p>\u90a3 VS Code \u6210\u529f\u7387\u901a\u5e38\u4e5f\u4f1a\u9ad8\u5f88\u591a\u3002<\/p>\n<hr \/>\n<h3>\u5341\u4e00\u3001\u5e38\u89c1\u62a5\u9519\u4e0e\u6392\u969c\u65b9\u6cd5<\/h3>\n<h4>1. Host key verification failed<\/h4>\n<p>\u8fd9\u901a\u5e38\u8868\u793a&#xff1a;<\/p>\n<ul>\n<li>\u672c\u673a\u8fd8\u6ca1\u6709\u4fe1\u4efb\u8fd9\u53f0\u670d\u52a1\u5668\u7684 host key<\/li>\n<li>\u6216\u670d\u52a1\u5668\u91cd\u88c5\u540e&#xff0c;host key \u53d8\u4e86<\/li>\n<\/ul>\n<p>\u53ef\u4ee5\u5148\u6267\u884c&#xff1a;<\/p>\n<p>ssh <span class=\"token operator\">&#8211;<\/span>o StrictHostKeyChecking&#061;accept-new my-server<\/p>\n<p>\u5982\u679c\u4ecd\u6709\u51b2\u7a81&#xff0c;\u5c31\u68c0\u67e5 known_hosts \u91cc\u7684\u65e7\u8bb0\u5f55\u3002<\/p>\n<h4>2. Permission denied (publickey,password)<\/h4>\n<p>\u5e38\u89c1\u539f\u56e0&#xff1a;<\/p>\n<ul>\n<li>\u516c\u94a5\u6ca1\u6709\u5199\u5bf9<\/li>\n<li>authorized_keys \u6743\u9650\u4e0d\u5bf9<\/li>\n<li>.ssh\/config \u4e2d IdentityFile \u5199\u9519<\/li>\n<li>\u4f60\u4ee5\u4e3a\u7a7a\u5bc6\u7801&#xff0c;\u5176\u5b9e\u79c1\u94a5\u6709 passphrase<\/li>\n<\/ul>\n<p>\u4f18\u5148\u68c0\u67e5\u670d\u52a1\u5668&#xff1a;<\/p>\n<p><span class=\"token function\">cat<\/span> ~\/.ssh\/authorized_keys<br \/>\n<span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-ld<\/span> ~\/.ssh<br \/>\n<span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-l<\/span> ~\/.ssh\/authorized_keys<\/p>\n<p>\u518d\u5728\u672c\u673a\u6267\u884c&#xff1a;<\/p>\n<p>ssh <span class=\"token operator\">&#8211;<\/span>vvv my-server <span class=\"token keyword\">exit<\/span><\/p>\n<p>\u91cd\u70b9\u770b\u8c03\u8bd5\u4fe1\u606f\u91cc\u662f\u5426\u51fa\u73b0&#xff1a;<\/p>\n<ul>\n<li>Offering public key<\/li>\n<li>Server accepts key<\/li>\n<\/ul>\n<h4>3. \u5728 CMD \u91cc\u4f7f\u7528 $HOME \u62a5\u9519<\/h4>\n<p>\u8fd9\u662f\u56e0\u4e3a $HOME \u662f PowerShell \u53d8\u91cf&#xff0c;\u4e0d\u662f CMD \u53d8\u91cf\u3002<\/p>\n<p>\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f CMD&#xff0c;\u8bf7\u5199\u5b8c\u6574\u8def\u5f84&#xff1a;<\/p>\n<p>ssh-keygen -t ed25519 -f C:\\\\Users\\\\\u4f60\u7684\u7528\u6237\u540d\\\\.ssh\\\\id_ed25519_my_server -N &#034;&#034;<\/p>\n<h4>4. VS Code \u4ecd\u7136\u63d0\u793a\u8d85\u65f6<\/h4>\n<p>\u5148\u786e\u8ba4\u4e0b\u9762\u8fd9\u6761\u547d\u4ee4\u5df2\u7ecf\u6210\u529f&#xff1a;<\/p>\n<p>ssh my-server <span class=\"token string\">&#034;echo OK&#034;<\/span><\/p>\n<p>\u5982\u679c\u547d\u4ee4\u884c\u672c\u8eab\u90fd\u4e0d\u7a33\u5b9a&#xff0c;\u5c31\u4e0d\u8981\u5148\u602a VS Code&#xff0c;\u5148\u628a SSH \u672c\u8eab\u4fee\u597d\u3002<\/p>\n<hr \/>\n<h3>\u5341\u4e8c\u3001\u63a8\u8350\u7684\u6700\u7ec8\u6587\u4ef6\u7ed3\u6784<\/h3>\n<h4>Windows \u672c\u673a<\/h4>\n<p>C:\\\\Users\\\\\u4f60\u7684\u7528\u6237\u540d\\\\.ssh\\\\<br \/>\n\u251c\u2500 config<br \/>\n\u251c\u2500 known_hosts<br \/>\n\u251c\u2500 id_ed25519_my_server<br \/>\n\u2514\u2500 id_ed25519_my_server.pub<\/p>\n<h4>Linux \u670d\u52a1\u5668<\/h4>\n<p>\/root\/.ssh\/<br \/>\n\u251c\u2500 authorized_keys<\/p>\n<hr \/>\n<h3>\u5341\u4e09\u3001\u6700\u77ed\u53ef\u590d\u7528\u7248\u547d\u4ee4\u6e05\u5355<\/h3>\n<h4>Windows \u672c\u673a<\/h4>\n<p>ssh-keygen <span class=\"token operator\">&#8211;<\/span>t ed25519 <span class=\"token operator\">&#8211;<\/span>f <span class=\"token variable\">$HOME<\/span>\\\\<span class=\"token punctuation\">.<\/span>ssh\\\\id_ed25519_my_server <span class=\"token operator\">&#8211;<\/span>N <span class=\"token string\">&#039;&#039;<\/span><br \/>\n<span class=\"token function\">type<\/span> <span class=\"token variable\">$HOME<\/span>\\\\<span class=\"token punctuation\">.<\/span>ssh\\\\id_ed25519_my_server<span class=\"token punctuation\">.<\/span>pub<\/p>\n<h4>Linux \u670d\u52a1\u5668<\/h4>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/root\/.ssh<br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">700<\/span> \/root\/.ssh<br \/>\n<span class=\"token builtin class-name\">printf<\/span> <span class=\"token string\">&#039;%s\\\\n&#039;<\/span> <span class=\"token string\">&#039;\u8fd9\u91cc\u66ff\u6362\u6210\u4f60\u7684\u6574\u884c\u516c\u94a5&#039;<\/span> <span class=\"token operator\">&gt;&gt;<\/span> \/root\/.ssh\/authorized_keys<br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">600<\/span> \/root\/.ssh\/authorized_keys<br \/>\n<span class=\"token function\">chown<\/span> <span class=\"token parameter variable\">-R<\/span> root:root \/root\/.ssh<\/p>\n<h4>Windows \u672c\u673a SSH \u914d\u7f6e<\/h4>\n<p>Host my-server<br \/>\n    HostName \u670d\u52a1\u5668\u516c\u7f51IP<br \/>\n    User root<br \/>\n    Port 22<br \/>\n    IdentityFile ~\/.ssh\/id_ed25519_my_server<\/p>\n<h4>\u9996\u6b21\u9a8c\u8bc1<\/h4>\n<p>ssh <span class=\"token operator\">&#8211;<\/span>o StrictHostKeyChecking&#061;accept-new my-server <span class=\"token string\">&#034;echo SSH_OK&#034;<\/span><\/p>\n<hr \/>\n<h3>\u5341\u56db\u3001\u7ed3\u8bed<\/h3>\n<p>SSH \u514d\u5bc6\u767b\u5f55\u672c\u8d28\u4e0a\u4e0d\u590d\u6742&#xff0c;\u6838\u5fc3\u5c31\u4e09\u4ef6\u4e8b&#xff1a;<\/p>\n<ul>\n<li>\u672c\u673a\u751f\u6210\u5bc6\u94a5<\/li>\n<li>\u628a\u516c\u94a5\u653e\u5230\u670d\u52a1\u5668<\/li>\n<li>\u5728\u672c\u673a\u914d\u7f6e ~\/.ssh\/config<\/li>\n<\/ul>\n<p>\u4e00\u65e6\u8fd9\u5957\u6d41\u7a0b\u8dd1\u901a&#xff0c;\u540e\u9762\u4e0d\u7ba1\u4f60\u662f\u7528 PowerShell\u3001VS Code\u3001Xshell&#xff0c;\u8fd8\u662f\u7ba1\u7406\u591a\u53f0 VPS&#xff0c;\u90fd\u4f1a\u8f7b\u677e\u5f88\u591a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/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":[58,149,43],"topic":[],"class_list":["post-122389","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-windows","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b - \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\/122389.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/122389.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-04T12:49:51+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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/122389.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/122389.html\",\"name\":\"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-04T12:49:51+00:00\",\"dateModified\":\"2026-11-04T12:49:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/122389.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/122389.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/122389.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b\"}]},{\"@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":"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b - \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\/122389.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/122389.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-04T12:49:51+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/122389.html","url":"https:\/\/www.wsisp.com\/helps\/122389.html","name":"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-04T12:49:51+00:00","dateModified":"2026-11-04T12:49:51+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/122389.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/122389.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/122389.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ece\u96f6\u5f00\u59cb\uff1aWindows \u8fde\u63a5 Linux \u670d\u52a1\u5668\u7684 SSH \u514d\u5bc6\u767b\u5f55\u6559\u7a0b"}]},{"@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\/122389","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=122389"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/122389\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=122389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=122389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=122389"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=122389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}