{"id":131318,"date":"2025-10-19T10:00:27","date_gmt":"2025-10-19T01:00:27","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=131318"},"modified":"2025-10-19T08:31:19","modified_gmt":"2025-10-18T23:31:19","slug":"windows-11-ssh-no-passphrase","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/windows-11-ssh-no-passphrase\/","title":{"rendered":"Windows 11 \u6a19\u6e96\u6a5f\u80fd\u3067OK\uff01SSH\u63a5\u7d9a\u6642\u306b\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u5165\u529b\u3092\u7701\u7565\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/10\/s_20251018-_140430.jpg\" alt=\"\" width=\"1183\" height=\"739\" class=\"aligncenter size-full wp-image-131319\" \/><\/p>\n<p>\u958b\u767a\u3084\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u306e\u305f\u3081SSH\u63a5\u7d9a\u3092\u65e5\u5e38\u7684\u306b\u4f7f\u3063\u3066\u3044\u308b\u65b9\u306f\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>SSH\u63a5\u7d9a\u306f\u5b89\u5168\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306e\u5b9a\u756a\u3067\u3059\u304c\u3001\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u4ed8\u304d\u306e\u79d8\u5bc6\u9375\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3068\u3001\u63a5\u7d9a\u306e\u305f\u3073\u306b\u4f55\u5ea6\u3082\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u3046\u3093\u3056\u308a\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u5e78\u3044\u3001Windows\u306eOpenSSH\u306b\u306f\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u3092\u7701\u7565\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u4fbf\u5229\u306a\u6a5f\u80fd\u304c\u642d\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002macOS\u306e\u30ad\u30fc\u30c1\u30a7\u30fc\u30f3\u3092\u4f7f\u3063\u305f\u5834\u5408\u3068\u540c\u69d8\u3001PC\u3092\u518d\u8d77\u52d5\u3057\u3066\u3082\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u8a18\u61b6\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u306f\u6700\u521d\u306e1\u56de\u3060\u3051\u3067\u3059\u307e\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Windows 11\u306b\u6a19\u6e96\u3067\u642d\u8f09\u3055\u308c\u3066\u3044\u308b\u3053\u306e\u6a5f\u80fd\u306e\u5229\u7528\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u306a\u305c\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u5165\u529b\u3092\u7701\u7565\u3067\u304d\u308b\u306e\u304b\uff1f<\/h2>\n<p>Windows\u306eOpenSSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u300c<strong>OpenSSH Authentication Agent<\/strong>\u300d\u3068\u547c\u3070\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u3068\u9023\u52d5\u3057\u3001\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u89e3\u9664\u3057\u305f\u79d8\u5bc6\u9375\u3092\u5b89\u5168\u306b\u4fdd\u6301\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u306f<code>ssh-add<\/code>\u30b3\u30de\u30f3\u30c9\u3067\u9375\u3092\u767b\u9332\u3059\u308b\u969b\u306b\u4e00\u5ea6\u3060\u3051\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002\u4ee5\u964d\u306essh\u63a5\u7d9a\u6642\u306b\u306f\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u81ea\u52d5\u3067\u79d8\u5bc6\u9375\u3092\u63d0\u4f9b\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u306a\u304f\u306a\u308b\u306e\u3067\u3059\u3002<\/p>\n<h2>OpenSSH Authentication Agent\u3092\u8d77\u52d5\u3059\u308b<\/h2>\n<p>\u8a18\u4e8b\u57f7\u7b46\u6642\u3001Windows 11\u3067\u306fssh\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u6a19\u6e96\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u300cOpenSSH Authentication Agent\u300d\u306f\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30b5\u30fc\u30d3\u30b9\u8a2d\u5b9a\u3067\u6709\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/10\/s_20251018-_140741.jpg\" alt=\"\" width=\"1182\" height=\"738\" class=\"aligncenter size-full wp-image-131320\" \/><\/p>\n<p>\u30b9\u30bf\u30fc\u30c8\u30e1\u30cb\u30e5\u30fc\u306a\u3069\u304b\u3089\u300c\u30b5\u30fc\u30d3\u30b9\u300d\u3092\u691c\u7d22\u3057\u3066\u958b\u304d\u3001\u300cOpenSSH Authentication Agent\u300d\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u306e\u7a2e\u985e\u3092\u300c<strong>\u81ea\u52d5(\u9045\u5ef6\u958b\u59cb)<\/strong>\u300d\u304b\u300c<strong>\u81ea\u52d5<\/strong>\u300d\u306b\u5909\u66f4\u3057\u300c\u958b\u59cb\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<h2>\u79d8\u5bc6\u9375\u3092\u767b\u9332\u3059\u308b<\/h2>\n<p>\u30b5\u30fc\u30d3\u30b9\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u3063\u305f\u3089\u3001\u79d8\u5bc6\u9375\u3092\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u767b\u9332\u3067\u304d\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3084PowerShell\u3092\u958b\u304d\u3001<code>ssh-add \u79d8\u5bc6\u9375\u306e\u30d1\u30b9<\/code>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\n# \u79d8\u5bc6\u9375\u3092\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u767b\u9332\u3059\u308b\r\nssh-add C:\\Users\\\u30e6\u30fc\u30b6\u30fc\u540d\\.ssh\\id_rsa\r\n<\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u767b\u9332\u306b\u6210\u529f\u3057\u305f\u5834\u5408\u3001<code>ssh-add -l<\/code>\u3067\u9375\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>SSH\u63a5\u7d9a\u3092\u8a66\u3057\u3066\u307f\u308b<\/h2>\n<p>\u9375\u306e\u767b\u9332\u304c\u5b8c\u4e86\u3057\u305f\u3089\u5f8c\u306f\u901a\u5e38\u901a\u308assh\u63a5\u7d9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre>\r\nssh user@remote-server.com\r\n<\/pre>\n<p>\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u3053\u3068\u306a\u304f\u3001\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u306f\u305a\u3067\u3059\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2025\/10\/s_20251018-_144327.jpg\" alt=\"\" width=\"1182\" height=\"738\" class=\"aligncenter size-full wp-image-131321\" \/><\/p>\n<p>\u305f\u3060\u3057\u3001<code>~\/.ssh\/config<\/code>\u30d5\u30a1\u30a4\u30eb\u3067<code>IdentitiesOnly yes<\/code>\u3092\u6307\u5b9a\u3059\u308b\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u304c\u5e38\u306b\u5fc5\u8981\u3067\u3057\u305f\u3002macOS\u3068\u306f\u7570\u306a\u3063\u3066\u304a\u308a\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>Windows 11\u306b\u6a19\u6e96\u642d\u8f09\u3055\u308c\u305fOpenSSH\u3092\u6709\u52b9\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u59a5\u5354\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u5feb\u9069\u306aSSH\u30e9\u30a4\u30d5\u3092\u624b\u306b\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Windows\u306bOpenSSH\u304c\u642d\u8f09\u3055\u308c\u305f\u306e\u306f\u6bd4\u8f03\u7684\u9045\u304f(Windows 10\u306e\u6642\u4ee3)\u3001\u305d\u306e\u9593\u3055\u307e\u3056\u307e\u306a\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30c4\u30fc\u30eb\u304c\u4f7f\u308f\u308c\u3066\u304d\u307e\u3057\u305f\u3002Windows\u306essh\u95a2\u9023\u60c5\u5831\u306f\u932f\u7d9c\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u307e\u305a\u306f\u6a19\u6e96\u6a5f\u80fd\u3092\u8a66\u3057\u3066\u307f\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u958b\u767a\u3084\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u306e\u305f\u3081SSH\u63a5\u7d9a\u3092\u65e5\u5e38\u7684\u306b\u4f7f\u3063\u3066\u3044\u308b\u65b9\u306f\u591a\u3044\u3068\u601d\u3044\u307e\u3059\u3002 SSH\u63a5\u7d9a\u306f\u5b89\u5168\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306e\u5b9a\u756a\u3067\u3059\u304c\u3001\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u4ed8\u304d\u306e\u79d8\u5bc6\u9375\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3068\u3001\u63a5\u7d9a\u306e\u305f\u3073\u306b\u4f55\u5ea6\u3082\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u3046\u3093\u3056\u308a\u3057\u3066 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":131319,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[1439,3298],"class_list":["post-131318","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-ssh","tag-windows"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/131318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=131318"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/131318\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/131319"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=131318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=131318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=131318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}