{"id":81368,"date":"2026-07-25T01:21:31","date_gmt":"2026-07-24T17:21:31","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/81368.html"},"modified":"2026-07-25T01:21:31","modified_gmt":"2026-07-24T17:21:31","slug":"codexvscoderemote-ssh-%e6%9c%8d%e5%8a%a1%e5%99%a8%e8%87%aa%e5%ae%9a%e4%b9%89%e7%ac%ac%e4%b8%89%e6%96%b9api%e9%85%8d%e7%bd%ae%e4%bf%9d%e5%a7%86%e7%ba%a7%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/81368.html","title":{"rendered":"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\u6559\u7a0b"},"content":{"rendered":"<h2>\u5c0f\u767d\u5c31\u8be5\u5c0f\u767d\u6559&#xff0c;\u6211\u6765\u5e26\u4f60\u7528AI&#xff01;<\/h2>\n<p>\u9762\u5411\u4eba\u7fa4&#xff1a;Codex\u4f7f\u7528\u8005&#xff0c;Vscode\u4f7f\u7528\u8005&#xff0c;\u6709\u670d\u52a1\u5668\u4e0a\u7684\u5f00\u53d1\u9700\u6c42\u7684\u5144\u5f1f\u3002<\/p>\n<p>\u7279\u522b\u9002\u5408\u4eba\u7fa4&#xff1a; \u60f3\u8981\u6216\u8005\u5df2\u7ecf\u4f7f\u7528\u8fc7codex cli\u7684 \u60f3\u8981\u4f7f\u7528vscode\u914d\u5408codex\u5f00\u53d1\u7684 \u60f3\u8981\u5728\u4efb\u610f\u4e00\u4e2a\u7cfb\u7edf\u7684\u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u4f7f\u7528codex\u800c\u4e0d\u5b89\u88c5codex cli\u6216\u8005nodejs\u7684\u3002<\/p>\n<h3>\u6240\u9700\u7684\u9053\u5177&#xff1a;<\/h3>\n<p>\u4e00\u4e2a\u4f60\u76ee\u524d\u53ef\u4ee5\u4f7f\u7528\u7684\u5927\u6a21\u578bapi\u548ckey\u3002<\/p>\n<p>\u5df2\u7ecf\u5b89\u88c5\u4e86vscode\u7684\u7535\u8111\u3002<\/p>\n<p>\u4e91\u670d\u52a1\u5668&#xff08;\u5982\u679c\u4f60\u8981\u5728\u670d\u52a1\u5668\u4e0a\u7528ai\u7684\u8bdd&#xff09;<\/p>\n<p>\u4e00\u9897\u4e0d\u653e\u5f03\u7684\u5fc3\u3002<\/p>\n<h2>\u6b65\u9aa4\u4ecb\u7ecd<\/h2>\n<p>\u7b80\u5355\u6765\u8bf4\u6211\u4eec\u7684\u8def\u7ebf\u662f\u5229\u7528vscode\u7684remote ssh \u63d2\u4ef6\u548ccodex\u63d2\u4ef6\u5185\u81ea\u5e26\u7684codex\u53ef\u6267\u884c\u6587\u4ef6\u6765\u907f\u5f00\u4e91\u670d\u52a1\u5668\u4e0a\u4f7f\u7528codex\u7684\u73af\u5883\u914d\u7f6e\u7684\u7e41\u7410\u3002<\/p>\n<p>\u5982\u679c\u4f60\u4e0d\u7528\u670d\u52a1\u5668&#xff0c;\u5c31\u53ea\u7528\u505a\u5173\u4e8ecodex\u63d2\u4ef6\u548c\u914d\u7f6e\u7684\u90e8\u5206\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u6211\u4eec\u63a5\u4e0b\u6765\u4f1a\u505a\u4ee5\u4e0b\u64cd\u4f5c&#xff1a;<\/p>\n<h3>1&#xff0c;\u5b89\u88c5\u6253\u5f00vscode<\/h3>\n<p>\u4e0b\u8f7d\u5730\u5740\u5982\u4e0b<\/p>\n<p>Visual Studio Code &#8211; The open source AI code editor | Your home for multi-agent development<\/p>\n<p>\u6211\u8fd9\u91cc\u662finsider\u7248\u672c\u3002\u5176\u4f59\u7248\u672c\u4e5f\u662f\u4e00\u6837\u7684\u64cd\u4f5c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"982\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172123-6a639f13aba75.png\" width=\"1449\" \/><\/p>\n<p>\u7136\u540e\u6253\u5f00\u5de6\u4fa7\u56db\u4e2a\u5c0f\u65b9\u5757\u7684\u680f\u76ee&#xff0c;\u4e5f\u5c31\u662f\u6269\u5c55\u754c\u9762&#xff0c;\u6211\u4eec\u641c\u7d22&#xff1a;remote ssh<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1002\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172124-6a639f141ddbf.png\" width=\"1493\" \/><\/p>\n<h3>2&#xff0c;\u5b89\u88c5remote SSH\u5e76\u8fde\u63a5\u5230\u670d\u52a1\u5668\u3002<\/h3>\n<p>\u5982\u679c\u4f60\u53ea\u662f\u672c\u5730\u9700\u8981\u5b89\u88c5&#xff0c;\u8fd9\u4e00\u6b65\u5ffd\u7565\u5373\u53ef<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1006\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172124-6a639f1488592.png\" width=\"1519\" \/><\/p>\n<p>\u8fd9\u91cc\u8f93\u5165\u547d\u4ee4&#xff1a; \u6ce8\u610f\u8fd9\u91cc5555\u662f\u4f60\u8fde\u63a5\u7684\u7aef\u53e3&#xff0c;\u9ed8\u8ba4\u4e3a22&#xff0c;\u540e\u9762\u7684username&#064;ip\u5206\u522b\u662f\u4f60\u8981\u767b\u5f55\u7684\u8d26\u53f7\u548c\u670d\u52a1\u5668ip\u5730\u5740\u3002<\/p>\n<p>ssh -p 5555 username&#064;172.111.111.111 <\/p>\n<p>\u4e3e\u4e2a\u4f8b\u5b50&#xff1a;<\/p>\n<p>ssh -p 22 root&#064;118.89.1.11 <\/p>\n<p>\u4e4b\u540e\u5462\u4f1a\u8ba9\u4f60\u8f93\u5165\u5bc6\u7801&#xff0c;\u7136\u540e\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7a97\u53e3&#xff0c;\u8fd9\u4e2a\u7a97\u53e3\u5c31\u5df2\u7ecf\u662f\u4e00\u4e2a\u8fdc\u7a0b\u5de5\u4f5c\u7a97\u53e3\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"475\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172125-6a639f154fe64.png\" width=\"1034\" \/><\/p>\n<p>\u6253\u5f00\u4f60\u8981\u5de5\u4f5c\u7684\u76ee\u5f55\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"608\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172126-6a639f1622c2a.png\" width=\"1494\" \/><\/p>\n<h3>3&#xff0c;\u5b89\u88c5codex\u63d2\u4ef6<\/h3>\n<p>\u5728\u6269\u5c55\u754c\u9762\u641c\u7d22codex&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1023\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172126-6a639f1682fb6.png\" width=\"1964\" \/><\/p>\n<p>\u70b9\u51fb\u5b89\u88c5&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"928\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172127-6a639f173648e.png\" width=\"1597\" \/><\/p>\n<p>\u7136\u540e\u4f1a\u663e\u793a\u5982\u56fe\u7c7b\u4f3c\u7684&#xff0c;\u5df2\u5728\u4ec0\u4e48\u4ec0\u4e48\u4e0a\u542f\u7528\u3002<\/p>\n<h3>4&#xff0c;\u914d\u7f6ecodex<\/h3>\n<p>\u5b89\u88c5\u597d\u4e86\u4e4b\u540e&#xff0c;\u4f60\u5c31\u80fd\u5728\u53f3\u8fb9\u770b\u5230codex\u804a\u5929\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1283\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172127-6a639f17ccd99.png\" width=\"1989\" \/><\/p>\n<p>\u70b9\u51fbuse API key<\/p>\n<p>\u628a\u4f60\u7684\u4e2d\u8f6c\u7ad9\u6216\u8005\u8bf4\u4f60\u7684\u4efb\u610f\u652f\u6301response\u683c\u5f0f\u7684api\u586b\u8fdb\u6765\u3002<\/p>\n<h4>\u6253\u5f00\u7ec8\u7aef<\/h4>\n<p>\u524d\u9762\u6211\u4eec\u5df2\u7ecf\u6253\u5f00\u5de5\u4f5c\u76ee\u5f55\u4e4b\u540e&#xff0c;\u5728\u8fd9\u91cc\u53ef\u4ee5\u8c03\u51fa\u7ec8\u7aef&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"600\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172128-6a639f18beb6d.png\" width=\"566\" \/><\/p>\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>cd ~\/.codex <\/p>\n<p>\u7136\u540e\u6267\u884c&#xff1a;<\/p>\n<p>ls -a <\/p>\n<p>\u4e4b\u540e\u89c2\u5bdf\u6709\u6ca1\u6709auth.json\u548cconfig.toml\u6587\u4ef6\u3002<\/p>\n<h4>auth.json<\/h4>\n<p>auth.json\u5185\u90e8\u5e94\u8be5\u662f\u8bb0\u5f55\u4e86\u4f60\u7684authmode\u548c\u4f60\u521a\u521a\u586b\u7684apikey&#xff0c;\u4e00\u822c\u60c5\u51b5\u4e0b\u4f60\u4e0d\u7528\u4fee\u6539\u3002<\/p>\n<p>\u6309ctrl&#043;\u5de6\u952e\u53ef\u4ee5\u70b9\u51fb\u8fdb\u5165\u4fee\u6539\u5b83\u4eec\u3002\u5982\u679c\u6ca1\u6709toml\u5c31\u5148\u6267\u884c&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"117\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172128-6a639f18d0fef.png\" width=\"1450\" \/><\/p>\n<p>touch config.toml <\/p>\n<p>\u7136\u540e\u4e24\u4e2a\u914d\u7f6e\u6587\u4ef6\u7684\u793a\u4f8b&#xff1a;<\/p>\n<p>codex \u7b2c\u4e09\u65b9\u914d\u7f6e\u793a\u4f8b\u548c\u4fee\u590d\u4e22\u5931\u804a\u5929\u7684\u811a\u672c_codex&#043;&#043; \u91cd\u542f\u540e\u804a\u5929\u8bb0\u5f55\u7f3a\u5931-CSDN\u535a\u5ba2<\/p>\n<h4>config.toml<\/h4>\n<p>\u5177\u4f53\u600e\u4e48\u4fee\u6539\u5462&#xff1a; \u5c31\u662f\u5c06\u4f60\u7684\u4e2d\u8f6c\u7aef\u70b9\u5199\u5728\u8fd9\u91cc&#xff0c;\u6ce8\u610f&#xff0c;\u4e00\u822c\u662f\u8981\u52a0v1\u540e\u7f00\u7684\u3002\u6bd4\u5982&#xff1a;<\/p>\n<p>https:\/\/aaa.xyz\/v1 <\/p>\n<p>\u603b\u4e4b\u5c31\u662f\u5c06\u4e0b\u9762\u7684\u5185\u5bb9\u4e2d\u7684\u4f60\u7684\u4e2d\u8f6c\u7aef\u70b9\u5207\u6362\u6210\u6b63\u5f0f\u7684\u94fe\u63a5\u7aef\u70b9&#xff0c;\u7136\u540e\u4fdd\u5b58\u5373\u53ef\u3002<\/p>\n<p>model_provider &#061; &#034;codex&#034;<br \/>\nmodel &#061; &#034;gpt-5.5&#034;<br \/>\nreview_model &#061; &#034;gpt-5.5&#034;<br \/>\nmodel_reasoning_effort &#061; &#034;xhigh&#034;<br \/>\ndisable_response_storage &#061; true<br \/>\nnetwork_access &#061; &#034;enabled&#034;<br \/>\nwindows_wsl_setup_acknowledged &#061; true<\/p>\n<p>[model_providers.codex]<br \/>\nname &#061; &#034;codex&#034;<br \/>\nbase_url &#061; &#034;\u4f60\u7684\u4e2d\u8f6c\u7aef\u70b9<br \/>\nwire_api &#061; &#034;responses&#034;<br \/>\nrequires_openai_auth &#061; true<\/p>\n<p>[features]<br \/>\ngoals &#061; true <\/p>\n<p>\u4e2d\u8f6c\u7ad9\u4ece\u54ea\u6765&#xff1f;\u53ef\u4ee5\u641c\u7d22\u4e2d\u8f6c\u7ad9\u6d4b\u8bc4&#xff0c;\u6709\u4e00\u4e2a\u7f51\u7ad9\u4e13\u95e8\u6d4b\u8bc4\u4e2d\u8f6c\u597d\u50cf\u53eb\u79be\u7ef4\u3002<\/p>\n<p>\u6211\u5c31\u4e0d\u6253\u5e7f\u544a\u4e86&#xff0c;\u771f\u6709\u9700\u8981\u53ef\u4ee5callme\u3002<\/p>\n<p>\u7136\u540e\u8fd9\u65f6\u5019\u4f60\u518d\u65b0\u5efa\u804a\u5929&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"182\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172128-6a639f18e5542.png\" width=\"445\" \/><\/p>\n<p>\u4e00\u5207\u641e\u5b9a&#xff01;<\/p>\n<h2>\u539f\u7406<\/h2>\n<p>\u4f60\u8fd9\u65f6\u5019\u5982\u679c\u5728\u7ec8\u7aef\u547d\u4ee4\u884c\u6267\u884ccodex&#xff0c;\u662f\u4e0d\u4f1a\u5f97\u5230\u4efb\u4f55\u8f93\u51fa\u7684&#xff0c;\u8fd9\u662f\u56e0\u4e3a\u4f60\u5b9e\u9645\u4e0a\u5e76\u6ca1\u6709\u5b89\u88c5codex\u684c\u9762\u7aef\u548c\u547d\u4ee4\u884c\u5de5\u5177\u3002<\/p>\n<p>\u4f60\u53ea\u662f\u5b89\u88c5\u4e86codex\u63d2\u4ef6&#xff0c;\u5176\u4e2d\u5185\u7f6e\u4e86\u4e00\u5957UI\u754c\u9762&#xff0c;\u4f60\u4f1a\u53d1\u73b0\u4ed6\u548c\u684c\u9762\u7aef\u6709\u5fae\u5999\u7684\u4e0d\u540c&#xff0c;\u4f46\u662f\u53c8\u4e0d\u662fcli\u90a3\u79cd\u5f62\u5f0f\u3002<\/p>\n<p>\u4e0d\u8fc7\u5b83\u548ccodex \u684c\u9762\u7aef&#xff0c;cli\u7684skill\u548c\u5404\u7c7b\u914d\u7f6e\u90fd\u662f\u5171\u4eab\u7684\u54e6\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u5982\u679c\u4f60\u60f3\u7684\u8bdd&#xff0c;\u6b64\u65f6\u4f60\u5b89\u88c5\u684c\u9762\u7aef\u548ccli\u5c31\u53ef\u4ee5\u6bd4\u8f83\u4f4e\u95e8\u69db\u7684\u76f4\u63a5\u4f7f\u7528\u4e86\u3002<\/p>\n<h2>\u6700\u540e<\/h2>\n<p>\u804a\u5929\u53f3\u4e0a\u89d2\u53ef\u4ee5\u50cf\u684c\u9762\u7aef\u4e00\u6837\u5728\u53ef\u89c6\u5316\u754c\u9762\u5b89\u88c5\u5404\u79cdskills&#xff0c;\u6216\u8005\u914d\u7f6e\u4f60\u503e\u5411\u7684\u8bed\u8a00\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"135\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172128-6a639f18f14bb.png\" width=\"542\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"859\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172129-6a639f190780c.png\" width=\"2129\" \/><\/p>\n<p>\u7136\u540e\u4e4b\u540e\u6211\u4f1a\u505a\u7c7b\u4f3c\u7684claude\u7684\u6559\u7a0b&#xff0c;\u5e0c\u671b\u80fd\u5f97\u5230\u4f60\u7684\u5173\u6ce8\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"958\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172129-6a639f19cebb4.png\" width=\"1552\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c0f\u767d\u5c31\u8be5\u5c0f\u767d\u6559&#xff0c;\u6211\u6765\u5e26\u4f60\u7528AI&#xff01;<br \/>\n\u9762\u5411\u4eba\u7fa4&#xff1a;Codex\u4f7f\u7528\u8005&#xff0c;Vscode\u4f7f\u7528\u8005&#xff0c;\u6709\u670d\u52a1\u5668\u4e0a\u7684\u5f00\u53d1\u9700\u6c42\u7684\u5144\u5f1f\u3002<br \/>\n\u7279\u522b\u9002\u5408\u4eba\u7fa4&#xff1a; \u60f3\u8981\u6216\u8005\u5df2\u7ecf\u4f7f\u7528\u8fc7codex cli\u7684 \u60f3\u8981\u4f7f\u7528vscode\u914d\u5408codex\u5f00\u53d1\u7684 \u60f3\u8981\u5728\u4efb\u610f\u4e00\u4e2a\u7cfb\u7edf\u7684\u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u4f7f\u7528codex\u800c\u4e0d\u5b89\u88c5codex cli\u6216\u8005nodejs\u7684\u3002<br \/>\n\u6240\u9700\u7684\u9053\u5177&#xff1a;<br \/>\n\u4e00\u4e2a\u4f60\u76ee\u524d\u53ef\u4ee5\u4f7f\u7528\u7684\u5927\u6a21\u578bapi\u548ckey\u3002<br \/>\n\u5df2\u7ecf\u5b89\u88c5\u4e86<\/p>\n","protected":false},"author":2,"featured_media":81354,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[70,76,487],"topic":[],"class_list":["post-81368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ide","tag-vscode","tag-487"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\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\/81368.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5c0f\u767d\u5c31\u8be5\u5c0f\u767d\u6559&#xff0c;\u6211\u6765\u5e26\u4f60\u7528AI&#xff01; \u9762\u5411\u4eba\u7fa4&#xff1a;Codex\u4f7f\u7528\u8005&#xff0c;Vscode\u4f7f\u7528\u8005&#xff0c;\u6709\u670d\u52a1\u5668\u4e0a\u7684\u5f00\u53d1\u9700\u6c42\u7684\u5144\u5f1f\u3002 \u7279\u522b\u9002\u5408\u4eba\u7fa4&#xff1a; \u60f3\u8981\u6216\u8005\u5df2\u7ecf\u4f7f\u7528\u8fc7codex cli\u7684 \u60f3\u8981\u4f7f\u7528vscode\u914d\u5408codex\u5f00\u53d1\u7684 \u60f3\u8981\u5728\u4efb\u610f\u4e00\u4e2a\u7cfb\u7edf\u7684\u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u4f7f\u7528codex\u800c\u4e0d\u5b89\u88c5codex cli\u6216\u8005nodejs\u7684\u3002 \u6240\u9700\u7684\u9053\u5177&#xff1a; \u4e00\u4e2a\u4f60\u76ee\u524d\u53ef\u4ee5\u4f7f\u7528\u7684\u5927\u6a21\u578bapi\u548ckey\u3002 \u5df2\u7ecf\u5b89\u88c5\u4e86\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/81368.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T17:21:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172123-6a639f13aba75.png\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81368.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/81368.html\",\"name\":\"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T17:21:31+00:00\",\"dateModified\":\"2026-07-24T17:21:31+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/81368.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/81368.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81368.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\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":"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\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\/81368.html","og_locale":"zh_CN","og_type":"article","og_title":"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5c0f\u767d\u5c31\u8be5\u5c0f\u767d\u6559&#xff0c;\u6211\u6765\u5e26\u4f60\u7528AI&#xff01; \u9762\u5411\u4eba\u7fa4&#xff1a;Codex\u4f7f\u7528\u8005&#xff0c;Vscode\u4f7f\u7528\u8005&#xff0c;\u6709\u670d\u52a1\u5668\u4e0a\u7684\u5f00\u53d1\u9700\u6c42\u7684\u5144\u5f1f\u3002 \u7279\u522b\u9002\u5408\u4eba\u7fa4&#xff1a; \u60f3\u8981\u6216\u8005\u5df2\u7ecf\u4f7f\u7528\u8fc7codex cli\u7684 \u60f3\u8981\u4f7f\u7528vscode\u914d\u5408codex\u5f00\u53d1\u7684 \u60f3\u8981\u5728\u4efb\u610f\u4e00\u4e2a\u7cfb\u7edf\u7684\u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u4f7f\u7528codex\u800c\u4e0d\u5b89\u88c5codex cli\u6216\u8005nodejs\u7684\u3002 \u6240\u9700\u7684\u9053\u5177&#xff1a; \u4e00\u4e2a\u4f60\u76ee\u524d\u53ef\u4ee5\u4f7f\u7528\u7684\u5927\u6a21\u578bapi\u548ckey\u3002 \u5df2\u7ecf\u5b89\u88c5\u4e86","og_url":"https:\/\/www.wsisp.com\/helps\/81368.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T17:21:31+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260724172123-6a639f13aba75.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/81368.html","url":"https:\/\/www.wsisp.com\/helps\/81368.html","name":"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T17:21:31+00:00","dateModified":"2026-07-24T17:21:31+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/81368.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/81368.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/81368.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Codex+Vscode+Remote ssh+ \u670d\u52a1\u5668\u81ea\u5b9a\u4e49\u7b2c\u4e09\u65b9API\u914d\u7f6e\u4fdd\u59c6\u7ea7\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\/81368","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=81368"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/81354"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=81368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=81368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=81368"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=81368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}