{"id":1351,"date":"2021-12-01T00:00:00","date_gmt":"2021-11-30T15:00:00","guid":{"rendered":"https:\/\/www.tech-tips.takmaru.com\/?p=5625"},"modified":"2021-12-01T00:00:00","modified_gmt":"2021-11-30T15:00:00","slug":"windows10-ssh-connection","status":"publish","type":"post","link":"https:\/\/www.tech-tips.takmaru.com\/?p=1351","title":{"rendered":"Windows 10 \u3078\u306e SSH \u63a5\u7d9a"},"content":{"rendered":"<p>\u3084\u308a\u305f\u3044\u3053\u3068\u306f\u3001\u6a19\u6e96\u6a5f\u80fd\u3060\u3051\u3067 Windows 10 \u306b SSH \u30b5\u30fc\u30d0\u3092\u69cb\u6210\u3057\u3001\u5225\u306e Windows 10 \u304b\u3089\u516c\u958b\u9375\u8a8d\u8a3c\u3067 SSH \u63a5\u7d9a\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002\u8272\u3005\u3068 Google \u5148\u751f\u306b\u306f\u60c5\u5831\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u95a2\u9023\u3082\u3042\u308b\u306e\u304b\u5c11\u3057\u5d4c\u3063\u305f\u306e\u3067\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u74b0\u5883\u306f Windows 10 Pro 20H2 \u3067\u3059\u3002\u300c<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows-server\/administration\/openssh\/openssh_overview\">Windows \u3067\u306e OpenSSH<\/a>\u300d\u306b\u3042\u308b\u4e00\u9023\u306e\u30de\u30af\u30ed\u30bd\u30d5\u30c8\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u8003\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a2d\u5b9a<\/h2>\n<h3>\u30e6\u30fc\u30b6\u30fc\u30ad\u30fc\u306e\u4f5c\u6210<\/h3>\n<p>\u516c\u958b\u9375\u8a8d\u8a3c\u306b\u3059\u308b\u306e\u3067\u3001\u6700\u521d\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\uff08 SSH \u63a5\u7d9a\u3059\u308b\u5074\uff09\u3067\u30ad\u30fc\u3092\u4f5c\u6210\u3057\u3066\u304a\u304f\u3068\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-batch\">ssh-keygen -t ed25519\n<\/code><\/pre>\n<p>\u6700\u521d\u306b\u300cEnter file in which to save the key\u300d\uff08\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u3069\u3053\u306b\u4f5c\u308a\u307e\u3059\u304b\uff09\u3068\u805e\u304b\u308c\u307e\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3067 OK \u3067\u3059\u3002\u6b21\u306b\u300cEnter passphrase (empty for no passphrase)\u300d\uff08\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u3042\u7a7a\u3067\u3082\u3044\u3044\u3051\u3069\u306d\u3001\u3001\u3001\uff09\u3068\u805e\u304b\u308c\u307e\u3059\u3002\u3053\u3053\u306b\u306f\u4f55\u304b\u30d1\u30b9\u30ef\u30fc\u30c9\u76f8\u5f53\u3092\u5165\u529b\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u6700\u5f8c\u306b\u300cEnter same passphrase again\u300d\u3067\u540c\u3058\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 &#8220;%HOMEPATH%\\.ssh&#8221; \u914d\u4e0b\u306b\u4ee5\u4e0b\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>id_ed25519 \uff1a\u79d8\u5bc6\u9375<\/li>\n<li>id_ed25519.pub \uff1a\u516c\u958b\u9375 \u2192\u3000\u3053\u308c\u306f\u300cSSH \u30b5\u30fc\u30d0\u306e\u69cb\u6210\u300d\u3067\u5229\u7528\u3057\u307e\u3059<\/li>\n<\/ul>\n<p>\u4e00\u9023\u306e\u5b9f\u884c\u30a4\u30e1\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\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-3-1.png\" \/><\/p><figcaption>\n<p>\u30ad\u30fc\u306e\u4f5c\u6210<\/p>\n<\/figcaption><\/figure>\n<h3>\u79d8\u5bc6\u9375\u3092 ssh-agent \u3078\u767b\u9332\u3059\u308b<\/h3>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows-server\/administration\/openssh\/openssh_keymanagement\">\u300cOpenSSH \u30ad\u30fc\u306e\u7ba1\u7406\u300d<\/a>\u306b\u306f\u4ee5\u4e0b\u3068\u3042\u308a\u307e\u3059\u3002\u79d8\u5bc6\u9375\u3092\u751f\u30d5\u30a1\u30a4\u30eb\u306e\u307e\u307e\u6b8b\u3057\u3066\u304a\u304f\u306e\u306f\u5371\u967a\u3063\u3066\u3053\u3068\u3067\u3059\u306d\u3002\u305d\u308a\u3083\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n<blockquote>\n<p>\u79d8\u5bc6\u30ad\u30fc\u3092 ssh-agent \u306b\u8ffd\u52a0\u3057\u305f &#8220;<em>\u5f8c<\/em>&#8220;\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3067\u4fdd\u8b77\u3055\u308c\u305f\u5834\u6240\u306b\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304b\u3089\u3001\u30ed\u30fc\u30ab\u30eb \u30b7\u30b9\u30c6\u30e0\u304b\u3089\u524a\u9664\u3059\u308b\u3053\u3068\u3092\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002 \u3053\u306e\u4f8b\u306e Ed25519 \u306e\u3088\u3046\u306b\u3001\u5f37\u529b\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304b\u3089\u79d8\u5bc6\u30ad\u30fc\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002 \u79d8\u5bc6\u30ad\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306f\u3001\u65b0\u3057\u3044\u30ad\u30fc \u30da\u30a2\u3092\u4f5c\u6210\u3057\u3001\u64cd\u4f5c\u3059\u308b\u3059\u3079\u3066\u306e\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u516c\u958b\u30ad\u30fc\u3092\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/ja-jp\/windows-server\/administration\/openssh\/openssh_keymanagement\">\u300cOpenSSH \u30ad\u30fc\u306e\u7ba1\u7406\u300d<\/a><\/p>\n<\/blockquote>\n<p>ssh-agent \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8868\u793a\u540d\u300cOpenSSH Authentication Agent\u300d\u3068\u3057\u3066\u30b5\u30fc\u30d3\u30b9\u306b\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u300c\u7121\u52b9\u300d\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3092\u300c\u81ea\u52d5\u300d\u306b\u5909\u66f4\u3057\u3066\u3001\u30b5\u30fc\u30d3\u30b9\u3082\u958b\u59cb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-4-1.png\" \/><\/p><figcaption>\n<p>ssh-agent \u306e\u8d77\u52d5<\/p>\n<\/figcaption><\/figure>\n<p>\u6b21\u306b\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u79d8\u5bc6\u9375\u3092 ssh-agent \u306b\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-batch\">ssh-add %HOMEPATH%\\.ssh\\id_ed25519\n<\/code><\/pre>\n<p>\u307e\u305f\u3001\u79d8\u5bc6\u9375\u304c\u767b\u9332\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u306f\u4ee5\u4e0b\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-batch\">ssh-add -l\n<\/code><\/pre>\n<p>\u3082\u3057 ssh-agent \u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u300cError connecting to agent: No such file or directory\u300d\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u4e00\u9023\u306e\u5b9f\u884c\u30a4\u30e1\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-5-1.png\" \/><\/p>\n<p>\u5c1a\u3001\u79d8\u5bc6\u9375\uff08 %HOMEPATH%.ssh\\id_ed25519 \uff09\u306f\u6700\u5f8c\u306e SSH \u63a5\u7d9a\u78ba\u8a8d\u307e\u3067\u7d42\u308f\u3063\u305f\u3089\u524a\u9664\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>SSH \u30b5\u30fc\u30d0\u306e\u69cb\u6210<\/h2>\n<h3>SSH \u30b5\u30fc\u30d0\u30fc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u5074\uff08 SSH \u63a5\u7d9a\u3055\u308c\u308b\u5074\uff09\u306e\u4f5c\u696d\u3067\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001SSH \u30b5\u30fc\u30d0\u306f\u306a\u3044\u306e\u3067\u300c\u8a2d\u5b9a\u300d\u2192\u300c\u30a2\u30d7\u30ea\u300d\u2192\u300c\u30aa\u30d7\u30b7\u30e7\u30f3\u6a5f\u80fd\u300d\u306b\u3066\u300c\u6a5f\u80fd\u306e\u8ffd\u52a0\u300d\u304b\u3089\u300eOpenSSH \u30b5\u30fc\u30d0\u30fc\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-1-1.png\" \/><\/p><figcaption>\n<p>SSH \u30b5\u30fc\u30d0\u30fc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<\/figcaption><\/figure>\n<h2>sshd_config \u306e\u7de8\u96c6<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3089&#8221;%PROGRAMDATA%\\ssh&#8221;\uff08\uff1dC:\\ProgramData\\ssh\uff09\u30d5\u30a9\u30eb\u30c0\u914d\u4e0b\u306b\u3042\u308b SSH\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308b&#8221;sshd_config&#8221;\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u30aa\u30ea\u30b8\u30ca\u30eb\u306f<br \/>\n\u3000&#8221;C:\\Windows\\System32\\OpenSSH\\sshd_config_default&#8221;<br \/>\n\u306b\u3042\u308a\u307e\u3059\u3002\u8a2d\u5b9a\u306f\u516c\u958b\u9375\u6697\u53f7\u65b9\u5f0f\u306e\u307f\u3092\u8a31\u3059\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5dee\u5206\u306b\u306a\u308b\u306f\u305a\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-9-1.png\" \/><\/p><figcaption>\n<p>sshd\\_config \u306e\u7de8\u96c6<\/p>\n<\/figcaption><\/figure>\n<p>PubkeyAuthentication \uff08\u516c\u958b\u9375\u8a8d\u8a3c\uff09\u3092 yes \u306b\u3057\u3066\u304a\u304d\u3001PasswordAuthentication \uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\uff09\u304a\u3088\u3073 PermitEmptyPasswords\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u7a7a\u3092\u8a31\u3059\uff09\u3092\u3044\u305a\u308c\u3082 no \u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3>\u516c\u958b\u9375\u306e\u767b\u9332<\/h3>\n<p>SSH \u30b5\u30fc\u30d0\u306b\u63a5\u7d9a\u3059\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u4f5c\u6210\u3057\u305f\u516c\u958b\u9375\u3092\u767b\u9332\u3057\u307e\u3059\u3002\u4eca\u56de\u767b\u9332\u3059\u308b\u30e6\u30fc\u30b6\u306f\u7ba1\u7406\u8005\u30e6\u30fc\u30b6\uff08\uff1dadministrators \u30b0\u30eb\u30fc\u30d7\u306b\u6240\u5c5e\u3059\u308b\u30e6\u30fc\u30b6\uff09\u3067\u3042\u308b\u305f\u3081\u3001&#8221;%PROGRAMDATA%\\ssh&#8221; \u30d5\u30a9\u30eb\u30c0\u914d\u4e0b\u306b\u300cadministrators_authorized_keys\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\uff08\u6a19\u6e96\u30e6\u30fc\u30b6\u306e\u30b1\u30fc\u30b9\u306f\u5272\u611b\u3057\u307e\u3059\uff09<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306f\u3001SSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8a2d\u5b9a\u3067\u4f5c\u6210\u3057\u305f\u516c\u958b\u9375\uff08 id_ed25519.pub \uff09\u306e\u4e2d\u8eab\u3068\u5168\u304f\u540c\u3058\u3082\u306e\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u521d\u3081\u3066\u306e\u767b\u9332\u3067\u3042\u308c\u3070 &#8220;id_ed25519.pub&#8221; \u3092\u305d\u306e\u307e\u307e &#8220;administrators_authorized_keys&#8221; \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u30ea\u30cd\u30fc\u30e0\u3057\u3066\u3082\u826f\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u5927\u4e8b\u306a\u306e\u306f\u3053\u306e&#8221;administrators_authorized_keys&#8221;\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3067\u3059\u3002\u3053\u308c\u3092\u6b63\u3057\u304f\u884c\u3063\u3066\u306a\u3044\u3068SSH\u63a5\u7d9a\u306e\u969b\u306b\u300cPermission denied (publickey)\u300d\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u3042\u3001\u4ed6\u306e\u8a2d\u5b9a\u9593\u9055\u3063\u3066\u3066\u3082\u540c\u3058\u30a8\u30e9\u30fc\u306a\u306e\u3067\u7d50\u69cb\u60a9\u307e\u3055\u308c\u308b\u3068\u3053\u308d\u306a\u3093\u3067\u3059\u304c\u3002<\/p>\n<p>\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\u306e\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u2192\u300c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u300d\u2192\u300c\u8a73\u7d30\u8a2d\u5b9a\u300d\u304b\u3089\u8a2d\u5b9a\u3057\u307e\u3059\u3002SYSTEM, Admistrators \u4ee5\u5916\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u524a\u9664\u3057\u3001\u7d99\u627f\u306e\u7121\u52b9\u5316\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-6-1.png\" \/><\/p><figcaption>\n<p>\u516c\u958b\u9375\u306e\u767b\u9332\uff08\uff11\uff09<\/p>\n<\/figcaption><\/figure>\n<p>\u3061\u306a\u307f\u306b\u3001\u3053\u308c\u3092\u30b3\u30de\u30f3\u30c9\u3067\u3084\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n<pre><code>icacls.exe &quot;C:\\ProgramData\\ssh\\administrators_authorized_keys&quot; \/inheritance:r \/grant &quot;Administrators:F&quot; \/grant &quot;SYSTEM:F&quot;\n<\/code><\/pre>\n<h3>SSH \u30b5\u30fc\u30d0\u306e\u8d77\u52d5<\/h3>\n<p>\u3053\u3053\u307e\u3067\u3067\u8a2d\u5b9a\u304c\u7d42\u308f\u308a\u307e\u3057\u305f\u306e\u3067\u3001SSH \u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u8868\u793a\u540d\u300cOpenSSH Server\u300d\u3068\u3057\u3066\u30b5\u30fc\u30d3\u30b9\u767b\u9332\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u300c\u81ea\u52d5\u300d\u8d77\u52d5\u306b\u5909\u66f4\u3057\u3001\u30b5\u30fc\u30d3\u30b9\u3082\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-7-1.png\" \/><\/p><figcaption>\n<p>SSH \u30b5\u30fc\u30d0\u306e\u8d77\u52d5<\/p>\n<\/figcaption><\/figure>\n<h2>SSH \u63a5\u7d9a\u78ba\u8a8d<\/h2>\n<p>\u3044\u3088\u3044\u3088 SSH \u63a5\u7d9a\u3057\u3066\u307f\u307e\u3059\u3002SSH \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u5074\u306e Windows \u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u63a5\u7d9a\u3057\u3066\u307f\u307e\u3059\u3002ssh-agent \u306b\u79d8\u5bc6\u9375\u3092\u767b\u9332\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u63a5\u7d9a\u5148\u306e\u30db\u30b9\u30c8\u540d\uff08\u307e\u305f\u306f IP \u30a2\u30c9\u30ec\u30b9\uff09\u3060\u3051\u3067\u826f\u3044\u3067\u3059\u3002<\/p>\n<pre><code>ssh \u300a\u63a5\u7d9a\u5148\u30db\u30b9\u30c8\u540d \u307e\u305f\u306f IP \u30a2\u30c9\u30ec\u30b9\u300b\n<\/code><\/pre>\n<p>\u76f8\u624b\u30b5\u30fc\u30d0\u306b\u63a5\u7d9a\u3067\u304d\u308c\u3070 OK \u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u63a5\u7d9a\u30a8\u30e9\u30fc\u7b49\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001SSH \u30b5\u30fc\u30d0\u5074\u306e\u30a4\u30d9\u30f3\u30c8\u30ed\u30b0\u306b\u51fa\u529b\u3055\u308c\u308b\uff08\u306f\u305a\uff09\u306a\u306e\u3067\u3059\u304c\u3001\u666e\u901a\u306e\u30ed\u30b0\u306b\u51fa\u529b\u3057\u305f\u3044\u5834\u5408\u306f\u3001SSH \u30b5\u30fc\u30d0\u5074\u306e sshd_config \u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n<figure>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.tech-tips.takmaru.com\/wp-content\/uploads\/2026\/03\/image-8-1.png\" \/><\/p><figcaption>\n<p>sshd\\_config \u306e\u7de8\u96c6<\/p>\n<\/figcaption><\/figure>\n<p>SyslogFacility \u306b LOCAL0 \u3092\u3059\u308b\u3053\u3068\u3067\u30d5\u30a1\u30a4\u30eb\u51fa\u529b\u3001LogLevel \u306f\u51fa\u529b\u3057\u305f\u3044\u30ed\u30b0\u306e\u30ec\u30d9\u30eb\u3067\u4e00\u756a\u7d30\u304b\u3044\u306e\u304c VERBOSE \u3067\u3059\u3002\u30ed\u30b0\u306e\u51fa\u529b\u5148\u306f\u300c%PROGRAMDATA%\\ssh\\logs\\sshd.log\u300d\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u63a5\u7d9a\u3057\u305f\u30e6\u30fc\u30b6\u306b\u3064\u3044\u3066\u306f\u3001\u3044\u305a\u308c\u306e Windows \u306b\u3082\u540c\u3058\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u72b6\u614b\u3067\u3057\u305f\u3002\u30ed\u30fc\u30ab\u30eb\u30a2\u30ab\u30a6\u30f3\u30c8\u3060\u3063\u305f\u3089\u3069\u3046\u306a\u3063\u3066\u305f\u306e\u304b\u3068\u304b\u8272\u3005\u3068\u6c17\u306b\u306a\u308b\u3068\u3053\u308d\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u5909\u306b\u82e6\u52b4\u3057\u305f\u306e\u3092\u30e1\u30e2\u4ee3\u308f\u308a\u306b\u6b8b\u3059\u3068\u3044\u3046\u3053\u3068\u304c\u76ee\u7684\u3067\u3057\u305f\u306e\u3067\u3001\u3053\u308c\u306b\u3066\u7d42\u308f\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3084\u308a\u305f\u3044\u3053\u3068\u306f\u3001\u6a19\u6e96\u6a5f\u80fd\u3060\u3051\u3067 Windows 10 \u306b SSH \u30b5\u30fc\u30d0\u3092\u69cb\u6210\u3057\u3001\u5225\u306e Windows 10 \u304b\u3089\u516c\u958b\u9375\u8a8d\u8a3c\u3067 SSH \u63a5\u7d9a\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002\u8272\u3005\u3068 Google \u5148\u751f\u306b\u306f\u60c5\u5831\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306e [&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-1351","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\/1351","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=1351"}],"version-history":[{"count":0,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=\/wp\/v2\/posts\/1351\/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=1351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tech-tips.takmaru.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}