{"id":1366,"date":"2021-12-02T00:00:00","date_gmt":"2021-12-01T15:00:00","guid":{"rendered":"https:\/\/www.tech-tips.takmaru.com\/?p=5466"},"modified":"2021-12-02T00:00:00","modified_gmt":"2021-12-01T15:00:00","slug":"ssh-port-forwarding-rdp","status":"publish","type":"post","link":"https:\/\/www.tech-tips.takmaru.com\/?p=1366","title":{"rendered":"SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a"},"content":{"rendered":"<p>\u524d\u56de<a href=\"https:\/\/www.tech-tips.takmaru.com\/?p=1351\">\u300cWindows 10 \u3078\u306e SSH \u63a5\u7d9a\u300d<\/a>\u3067\u3001\u6a19\u6e96\u6a5f\u80fd\u3060\u3051\u3067 Windows 10 \u304b\u3089 Windows 10 \u306b\u5bfe\u3057\u3066 SSH \u63a5\u7d9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u4eca\u5ea6\u306f\u3001SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u3063\u3066\u3001\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3067\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3059\u3002\u3053\u308c\u304c\u3067\u304d\u308c\u3070\u3001Windows \u3067\u3042\u3063\u3066\u3082 SSH \u30dd\u30fc\u30c8\u3060\u3051\u3042\u3051\u3066\u304a\u3051\u3070\u3001\u5916\u90e8\u304b\u3089\u30bb\u30ad\u30e5\u30a2\u306b\u4e57\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n<h2>\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u6709\u52b9\u5316<\/h2>\n<p>Windows 10 \u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306f\u7121\u52b9\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002\u3068\u306f\u3044\u3063\u3066\u3082\u8a2d\u5b9a\u306f\u7c21\u5358\u3067\u3001\u300c\u8a2d\u5b9a\u300d\u2192\u300c\u30b7\u30b9\u30c6\u30e0\u300d\u2192\u300c\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u300d\u304b\u3089\u300c\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u6709\u52b9\u306b\u3059\u308b\u300d\u3092\u30aa\u30f3\u306b\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-10-1.png\" \/><\/p><figcaption>\n<p>\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u6709\u52b9\u5316\uff08\uff11\uff09<\/p>\n<\/figcaption><\/figure>\n<p>\u30dd\u30fc\u30c8 3389 \u3067 LISTEN \u3057\u3066\u3044\u308c\u3070\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<pre><code class=\"language-batch\">netstat -ano | findstr &quot;:3389 &quot;\n<\/code><\/pre>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-11-1.png\" \/><\/p><figcaption>\n<p>\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u6709\u52b9\u5316\uff08\uff12\uff09<\/p>\n<\/figcaption><\/figure>\n<h2>SSH \u30c8\u30f3\u30cd\u30eb\u306e\u78ba\u7acb<\/h2>\n<p>SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089 SSH \u30b5\u30fc\u30d0\u306b\u63a5\u7d9a\u3057\u3066\u3044\u308b\u72b6\u614b\u306f\u3001\u3042\u308b\u610f\u5473 VPN \u306e\u3088\u3046\u306b\u30bb\u30ad\u30e5\u30a2\u306a\u63a5\u7d9a\u304c\u78ba\u7acb\u3057\u3066\u3044\u308b\u72b6\u614b\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3053\u306e\u7d4c\u8def\u3092\u4f7f\u3063\u3066\u60c5\u5831\u3092\u8ee2\u9001\u3059\u308b\u6280\u8853\u3092 SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3068\u547c\u3073\u307e\u3059\u3002SSH \u63a5\u7d9a\u306f\u3001\u5358\u306a\u308b\u60c5\u5831\u4f1d\u9054\u7d4c\u8def\u3068\u3044\u3046\u610f\u5473\u5408\u3044\u306b\u306a\u308b\u306e\u3067\u3001SSH \u30c8\u30f3\u30cd\u30eb\u3068\u3044\u3046\u8a00\u3044\u65b9\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u30dd\u30fc\u30c8\u8ee2\u9001\u306b\u306f\u3044\u304f\u3064\u304b\u7a2e\u985e\u304c\u5b58\u5728\u3057\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u300c\u30ed\u30fc\u30ab\u30eb\u30dd\u30fc\u30c8\u8ee2\u9001\u300d\u3092\u5229\u7528\u3057\u307e\u3059\u3002SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u7279\u5b9a\u306e\u30dd\u30fc\u30c8\u306b\u5bfe\u3059\u308b\u901a\u4fe1\u3092\u3001SSH \u30b5\u30fc\u30d0\u3092\u7d4c\u7531\u3057\u3066\uff08\uff1d\u8e0f\u307f\u53f0\u3068\u3057\u3066\uff09\u5225\u306e\u7aef\u672b\u306e\u30dd\u30fc\u30c8\u306b\u8ee2\u9001\u3059\u308b\u3001\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u30ed\u30fc\u30ab\u30eb\u30dd\u30fc\u30c8\u8ee2\u9001\u306f\u3001SSH \u306e &#8220;-L&#8221; \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u307e\u3059\u3002SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08\uff1d\u30ed\u30fc\u30ab\u30eb\uff09\u5074\u306e\u30dd\u30fc\u30c8&#8221;53389&#8243; \u3092\u3001SSH \u30b5\u30fc\u30d0\uff08\uff1d\u30ea\u30e2\u30fc\u30c8\uff09\u5074\u306e SSH \u30b5\u30fc\u30d0\u81ea\u8eab &#8220;127.0.0.1&#8221; \u306e\u30dd\u30fc\u30c8&#8221;3389&#8243;\u306b\u8ee2\u9001\u3059\u308b\u3001\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-batch\">ssh \u300a\u63a5\u7d9a\u5148\u30db\u30b9\u30c8\u540d \u307e\u305f\u306f IP \u30a2\u30c9\u30ec\u30b9\u300b -L 53389:127.0.0.1:3389\n<\/code><\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u76f8\u624b\u30b5\u30fc\u30d0\u306b\u63a5\u7d9a\u3055\u308c\u3066\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u3067 SSH \u30c8\u30f3\u30cd\u30eb\u306f\u3067\u304d\u307e\u3057\u305f\u3002\u3053\u306e\u307e\u307e\u306e\u72b6\u614b\u3067\u3001\u30ed\u30fc\u30ab\u30eb\u30dd\u30fc\u30c8 53389 \u3067 LISTEN \u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-batch\">netstat -ano | findstr &quot;:53389 &quot;\n<\/code><\/pre>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-12-1.png\" \/><\/p><figcaption>\n<p>SSH \u30c8\u30f3\u30cd\u30eb\u306e\u78ba\u7acb<\/p>\n<\/figcaption><\/figure>\n<p>\u3053\u306e SSH \u30c8\u30f3\u30cd\u30eb\u306f\u3001\u524d\u8ff0\u306e SSH \u63a5\u7d9a\u3092\u5207\u3089\u306a\u3044\u9650\u308a\uff08\uff1dSSH \u30d7\u30ed\u30f3\u30d7\u30c8\u4e0a\u3067 exit \u3057\u306a\u3044\u9650\u308a\uff09\u78ba\u7acb\u3055\u308c\u305f\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306f\u3059\u3079\u3066 SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u4f5c\u696d\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>SSH \u30c8\u30f3\u30cd\u30eb\u7d4c\u7531\u306e\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a<\/h2>\n<p>\u3042\u3068\u306f\u3001SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u7aef\u672b\u306e\u30ed\u30fc\u30ab\u30eb\u30dd\u30fc\u30c8&#8221;53389&#8243;\u306b\u5bfe\u3057\u3066\u3001\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a\u3092\u884c\u3048\u3070\u3088\u3044\u3067\u3059\u3002<\/p>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-13-1.png\" \/><\/p><figcaption>\n<p>\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u63a5\u7d9a<\/p>\n<\/figcaption><\/figure>\n<p>SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306b\u3088\u3063\u3066\u3001 SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08\uff1d\u30ed\u30fc\u30ab\u30eb\uff09\u5074\u306e\u30dd\u30fc\u30c8&#8221;53389&#8243; \u306b\u5bfe\u3059\u308b\u901a\u4fe1\u306fSSH \u30c8\u30f3\u30cd\u30eb\u3092\u7d4c\u7531\u3057\u3066\u3001\u3059\u3079\u3066SSH \u30b5\u30fc\u30d0\uff08\uff1d\u30ea\u30e2\u30fc\u30c8\uff09\u5074\u306e SSH \u30b5\u30fc\u30d0\u81ea\u8eab &#8220;127.0.0.1&#8221; \u306e\u30dd\u30fc\u30c8&#8221;3389&#8243;\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u666e\u901a\u306b\u30ea\u30e2\u30fc\u30c8\u5074\u306b\u63a5\u7d9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001Windows \u7aef\u672b\uff12\u53f0\u3067\u306e\u691c\u8a3c\u3067\u3057\u305f\u304c\u3001SSH \u30b5\u30fc\u30d0\u3092\u8e0f\u307f\u53f0\u3068\u3057\u3066\u3001\u5225\u306e\u7aef\u672b\u306b\u8ee2\u9001\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u3080\u3057\u308d\u305d\u306e\u65b9\u304c\u666e\u901a\u3067\u3059\uff09\u3002\u4f8b\u3048\u3070\u3001\u30af\u30e9\u30a6\u30c9\u4e0a\u306b\u8907\u6570\u53f0\u306e\u30b5\u30fc\u30d0\u304c\u3042\u308c\u3070\u3001\u305d\u306e\u3046\u3061\u306e\uff11\u53f0\u3060\u3051 SSH \u30b5\u30fc\u30d0\u3068\u3057\u3066\u7acb\u3066\u3066\u304a\u3044\u3066\u3001\u5225\u306e\u30b5\u30fc\u30d0\u306b\u306f\u305d\u306e SSH \u30b5\u30fc\u30d0\u3092\u8e0f\u307f\u53f0\u3068\u3057\u3066\u63a5\u7d9a\u3059\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u5916\u90e8\u516c\u958b\u3055\u305b\u308b\u30b5\u30fc\u30d0\u3084\u30dd\u30fc\u30c8\u3092\u7d5e\u308c\u308b\u306e\u3067\u3001\u3088\u308a\u30bb\u30ad\u30e5\u30a2\u306b\u306a\u308b\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u300cWindows 10 \u3078\u306e SSH \u63a5\u7d9a\u300d\u3067\u3001\u6a19\u6e96\u6a5f\u80fd\u3060\u3051\u3067 Windows 10 \u304b\u3089 Windows 10 \u306b\u5bfe\u3057\u3066 SSH \u63a5\u7d9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u4eca\u5ea6\u306f\u3001SSH \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u4f7f\u3063\u3066\u3001\u30ea\u30e2\u30fc\u30c8\u30c7 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5465,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[30],"class_list":["post-1366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-ssh"],"_links":{"self":[{"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=\/wp\/v2\/posts\/1366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1366"}],"version-history":[{"count":0,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=\/wp\/v2\/posts\/1366\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=\/wp\/v2\/media\/5465"}],"wp:attachment":[{"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}