{"id":167450,"date":"2021-02-01T12:31:58","date_gmt":"2021-02-01T05:31:58","guid":{"rendered":"https:\/\/www.icez.net\/blog\/?p=167450"},"modified":"2022-05-12T14:37:27","modified_gmt":"2022-05-12T07:37:27","slug":"0248-vscode-remote-ssh-on-windows","status":"publish","type":"post","link":"https:\/\/www.icez.net\/blog\/167450\/0248-vscode-remote-ssh-on-windows","title":{"rendered":"0248 | vscode remote ssh \u0e1a\u0e19 windows"},"content":{"rendered":"<p>\u0e44\u0e21\u0e48\u0e23\u0e39\u0e49\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e22\u0e38\u0e48\u0e07\u0e22\u0e32\u0e01\u0e44\u0e1b\u0e17\u0e33\u0e44\u0e21 \u0e43\u0e0a\u0e49 <a href=\"https:\/\/github.com\/cdr\/code-server\">code-server<\/a> \u0e07\u0e48\u0e32\u0e22\u0e01\u0e27\u0e48\u0e32\u0e40\u0e22\u0e2d\u0e30\u0e40\u0e25\u0e22 \u0e41\u0e15\u0e48\u0e16\u0e49\u0e32\u0e2d\u0e22\u0e32\u0e01\u0e17\u0e33\u0e01\u0e47&#8230;<\/p>\n<p>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e04\u0e19\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49 putty \/ pageant \u0e43\u0e19\u0e01\u0e32\u0e23 ssh \u0e2d\u0e22\u0e39\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e41\u0e25\u0e30\u0e44\u0e21\u0e48\u0e2d\u0e22\u0e32\u0e01\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23 key \u0e43\u0e2b\u0e49\u0e27\u0e38\u0e48\u0e19\u0e27\u0e32\u0e22<\/p>\n<ol>\n<li>\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 vscode (\u0e41\u0e2b\u0e07\u0e25\u0e48\u0e30)<\/li>\n<li>\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 openssh \u0e1a\u0e19 windows (\u0e01\u0e14 start > \u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e27\u0e48\u0e32 optional feature > \u0e40\u0e25\u0e37\u0e2d\u0e01 \u0e40\u0e21\u0e19\u0e39 Add an optional features > \u0e40\u0e25\u0e37\u0e2d\u0e01 OpenSSH Client \u0e01\u0e14 install)<\/li>\n<\/ol>\n<h2>\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21 ssh-agent \u0e01\u0e31\u0e1a pageant<\/h2>\n<ol>\n<li>\u0e42\u0e2b\u0e25\u0e14 <a href=\"https:\/\/github.com\/benpye\/wsl-ssh-pageant\">https:\/\/github.com\/benpye\/wsl-ssh-pageant<\/a> \u0e21\u0e32\u0e25\u0e07 (\u0e2b\u0e19\u0e49\u0e32 release > \u0e44\u0e1f\u0e25\u0e4c wsl-ssh-pageant-amd64-gui.exe)<\/li>\n<li>\u0e40\u0e1b\u0e34\u0e14 windows explorer \u0e04\u0e25\u0e34\u0e01\u0e02\u0e27\u0e32\u0e17\u0e35\u0e48\u0e44\u0e1f\u0e25\u0e4c wsl-ssh-pageant-amd64-gui.exe \u0e01\u0e14 create shortcut \u0e04\u0e25\u0e34\u0e01<\/li>\n<li>\u0e04\u0e25\u0e34\u0e01\u0e02\u0e27\u0e32\u0e44\u0e1f\u0e25\u0e4c shortcut \u0e17\u0e35\u0e48\u0e40\u0e1e\u0e34\u0e48\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07 \u0e01\u0e14 properties \u0e0a\u0e48\u0e2d\u0e07 target \u0e40\u0e15\u0e34\u0e21 <code>--winssh ssh-pageant<\/code> \u0e15\u0e48\u0e2d\u0e17\u0e49\u0e32\u0e22\u0e44\u0e1b (\u0e40\u0e27\u0e49\u0e19\u0e27\u0e23\u0e23\u0e04\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e15\u0e34\u0e21\u0e14\u0e49\u0e27\u0e22)<\/li>\n<li>double click \u0e15\u0e31\u0e27 shortcut \u0e17\u0e35\u0e48\u0e23\u0e31\u0e19\u0e21\u0e32\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e01\u0e35\u0e49 + \u0e08\u0e31\u0e1a\u0e22\u0e49\u0e32\u0e22\u0e44\u0e1b\u0e43\u0e19 startup \u0e44\u0e14\u0e49\u0e40\u0e25\u0e22 (%APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup)<\/li>\n<li>\u0e01\u0e14 start > \u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e27\u0e48\u0e32 environment \u0e40\u0e25\u0e37\u0e2d\u0e01 > Edit the system environment > \u0e41\u0e25\u0e49\u0e27\u0e01\u0e14+\u0e01\u0e23\u0e2d\u0e01\u0e15\u0e32\u0e21\u0e19\u0e35\u0e49 \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e04\u0e34\u0e14\u0e40\u0e22\u0e2d\u0e30 <img decoding=\"async\" src=\"https:\/\/www.icez.net\/blog\/wp-content\/uploads\/2021\/02\/c-20210201-120639.png\" alt=\"\" \/><\/li>\n<\/ol>\n<h2>\u0e17\u0e14\u0e2a\u0e2d\u0e1a\u0e01\u0e32\u0e23 ssh<\/h2>\n<ol>\n<li>\u0e40\u0e1b\u0e34\u0e14 powershell<\/li>\n<li>\u0e2a\u0e31\u0e48\u0e07 <code>ssh-add -l<\/code> \u0e16\u0e49\u0e32\u0e23\u0e30\u0e1a\u0e1a\u0e17\u0e33\u0e07\u0e32\u0e19\u0e16\u0e39\u0e01\u0e04\u0e27\u0e23\u0e08\u0e30\u0e21\u0e35 key \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32 add \u0e44\u0e27\u0e49\u0e43\u0e19 pageant \u0e42\u0e1c\u0e25\u0e48\u0e02\u0e36\u0e49\u0e19\u0e21\u0e32<\/li>\n<\/ol>\n<h2>\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19<\/h2>\n<p>\u0e43\u0e19 vscode \u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 remote ssh extension \u0e41\u0e25\u0e49\u0e27\u0e01\u0e14 connect \u0e40\u0e02\u0e49\u0e32 server \u0e44\u0e14\u0e49\u0e40\u0e25\u0e22<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e44\u0e21\u0e48\u0e23\u0e39\u0e49\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e0a\u0e35\u0e27\u0e34\u0e15\u0e22\u0e38\u0e48\u0e07\u0e22\u0e32\u0e01\u0e44\u0e1b\u0e17\u0e33\u0e44\u0e21 \u0e43\u0e0a\u0e49 code-server \u0e07\u0e48\u0e32\u0e22\u0e01\u0e27\u0e48\u0e32\u0e40\u0e22\u0e2d\u0e30\u0e40\u0e25\u0e22 \u0e41\u0e15\u0e48\u0e16\u0e49\u0e32\u0e2d\u0e22\u0e32\u0e01\u0e17\u0e33\u0e01\u0e47&#8230; \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e04\u0e19\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49 putty \/ pageant \u0e43\u0e19\u0e01\u0e32\u0e23 ssh \u0e2d\u0e22\u0e39\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e41\u0e25\u0e30\u0e44\u0e21\u0e48\u0e2d\u0e22\u0e32\u0e01\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23 key \u0e43\u0e2b\u0e49\u0e27\u0e38\u0e48\u0e19\u0e27\u0e32\u0e22 \u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 vscode (\u0e41\u0e2b\u0e07\u0e25\u0e48\u0e30) \u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 openssh \u0e1a\u0e19 windows (\u0e01\u0e14 start > \u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e27\u0e48\u0e32 optional feature > \u0e40\u0e25\u0e37\u0e2d\u0e01 \u0e40\u0e21\u0e19\u0e39 Add an optional features > \u0e40\u0e25\u0e37\u0e2d\u0e01 OpenSSH Client \u0e01\u0e14 install) \u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21 ssh-agent \u0e01\u0e31\u0e1a pageant \u0e42\u0e2b\u0e25\u0e14 https:\/\/github.com\/benpye\/wsl-ssh-pageant \u0e21\u0e32\u0e25\u0e07 (\u0e2b\u0e19\u0e49\u0e32 release > \u0e44\u0e1f\u0e25\u0e4c wsl-ssh-pageant-amd64-gui.exe) \u0e40\u0e1b\u0e34\u0e14 windows [&hellip;]<\/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":[],"class_list":["post-167450","post","type-post","status-publish","format-standard","hentry","category-misc"],"_links":{"self":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/comments?post=167450"}],"version-history":[{"count":8,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167450\/revisions"}],"predecessor-version":[{"id":167495,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167450\/revisions\/167495"}],"wp:attachment":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/media?parent=167450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/categories?post=167450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/tags?post=167450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}