{"id":5441,"date":"2023-10-20T22:09:13","date_gmt":"2023-10-20T13:09:13","guid":{"rendered":"https:\/\/higherhope.net\/?p=5441"},"modified":"2023-10-20T22:13:47","modified_gmt":"2023-10-20T13:13:47","slug":"ssh%e6%8e%a5%e7%b6%9a%e6%99%82%e3%81%ab-key-type-ssh-rsa-not-in-pubkeyacceptedalgorithms%e3%81%a8%e3%82%a8%e3%83%a9%e3%83%bc%e5%87%ba%e3%81%9f%e6%99%82%e3%81%ae%e8%a7%a3%e6%b1%ba","status":"publish","type":"post","link":"https:\/\/higherhope.net\/?p=5441","title":{"rendered":"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5"},"content":{"rendered":"<p>SSH\u63a5\u7d9a\u6642&#8221;key type ssh-rsa not in PubkeyAcceptedAlgorithms&#8221;\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u63a5\u7d9a\u304c\u51fa\u6765\u306a\u3044\u6642\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001SSH\u30b5\u30fc\u30d0\u30fc\u304c\u53d7\u3051\u5165\u308c\u308b\u516c\u958b\u9375\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306b\u3001\u4f7f\u7528\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308bssh-rsa\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u70ba\u3067\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eOpenSSH\uff08\u4f8b\u3048\u3070Ubuntu 22.04 LTS\u3084RHEL9\u306a\u3069\uff09\u3067\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067SHA1\u30e1\u30c3\u30bb\u30fc\u30b8\u30c0\u30a4\u30b8\u30a7\u30b9\u30c8\u9375\uff08ssh-rsa\uff09\u304c\u7981\u6b62\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002<br \/>\nSHA1\u306f\u8106\u5f31\u6027\u3092\u6301\u3064\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u4f7f\u7528\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e2\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30fb\u65b0\u3057\u3044\u9375\u3092\u751f\u6210\u3059\u308b: RSA\u9375\u306b\u3053\u3060\u308f\u308a\u304c\u306a\u3051\u308c\u3070\u3001ED25519\u3084ECDSA\u306a\u3069\u306e\u4ed6\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u65b0\u3057\u3044\u9375\u3092\u751f\u6210\u3057\u307e\u3059\u3002<br \/>\nED25519\u306e\u5834\u5408<br \/>\n<code># ssh-keygen -t ed25519<\/code><br \/>\nECDSA\u306e\u5834\u5408<br \/>\n<code># ssh-keygen -t ecdsa -b 256<\/code><\/p>\n<p>\u30fb\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b: \u30b5\u30fc\u30d0\u30fc\u5074\u306eSSH\u8a2d\u5b9a\uff08sshd_config\uff09\u3067ssh-rsa\u3092\u53d7\u3051\u5165\u308c\u308b\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u308c\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u3042\u307e\u308a\u826f\u304f\u306a\u3044\u3067\u3059\u306d\u3002\u3002<br \/>\n\u5177\u4f53\u7684\u306b\u306f\u3001sshd_config\u306e\u6700\u7d42\u884c\u306b\u3000PubkeyAcceptedAlgorithms=+ssh-rsa\u3000\u3092\u8ffd\u52a0<\/p>\n<p><code># vi \/etc\/ssh\/sshd_config<br \/>\n#\u6700\u7d42\u884c\u306b\u8ffd\u8a18<br \/>\nPubkeyAcceptedAlgorithms=+ssh-rsa<br \/>\n<\/code><br \/>\nsshd\u518d\u8d77\u52d5<br \/>\n<code># systemctl restart sshd.service<\/code><\/p>\n<p>\u4ee5\u4e0a\u304c\u3001SSH\u63a5\u7d9a\u30a8\u30e9\u30fc&#8221;key type ssh-rsa not in PubkeyAcceptedAlgorithms&#8221;\u306e\u89e3\u6c7a\u6cd5\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSH\u63a5\u7d9a\u6642&#8221;key type ssh-rsa not in PubkeyAcceptedAlgorithms&#8221;\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u63a5\u7d9a\u304c\u51fa\u6765\u306a\u3044\u6642\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001S&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/higherhope.net\/?p=5441\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[166],"class_list":["post-5441","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/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:\/\/higherhope.net\/?p=5441\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:description\" content=\"SSH\u63a5\u7d9a\u6642&#8221;key type ssh-rsa not in PubkeyAcceptedAlgorithms&#8221;\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u63a5\u7d9a\u304c\u51fa\u6765\u306a\u3044\u6642\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001S... Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/higherhope.net\/?p=5441\" \/>\n<meta property=\"og:site_name\" content=\"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-20T13:09:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-20T13:13:47+00:00\" \/>\n<meta name=\"author\" content=\"higherhope\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@higherhope5963\" \/>\n<meta name=\"twitter:site\" content=\"@higherhope5963\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"higherhope\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/higherhope.net\/?p=5441#article\",\"isPartOf\":{\"@id\":\"https:\/\/higherhope.net\/?p=5441\"},\"author\":{\"name\":\"higherhope\",\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\"},\"headline\":\"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5\",\"datePublished\":\"2023-10-20T13:09:13+00:00\",\"dateModified\":\"2023-10-20T13:13:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/higherhope.net\/?p=5441\"},\"wordCount\":44,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\"},\"keywords\":[\"linux\"],\"articleSection\":[\"linux\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/higherhope.net\/?p=5441#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/higherhope.net\/?p=5441\",\"url\":\"https:\/\/higherhope.net\/?p=5441\",\"name\":\"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\",\"isPartOf\":{\"@id\":\"https:\/\/higherhope.net\/#website\"},\"datePublished\":\"2023-10-20T13:09:13+00:00\",\"dateModified\":\"2023-10-20T13:13:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/higherhope.net\/?p=5441#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/higherhope.net\/?p=5441\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/higherhope.net\/?p=5441#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/higherhope.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/higherhope.net\/#website\",\"url\":\"https:\/\/higherhope.net\/\",\"name\":\"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\",\"description\":\"\u304a\u3063\u3055\u3093\u307e\u3060\u307e\u3060\u697d\u3067\u304d\u307e\u305b\u3093\u3002\",\"publisher\":{\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/higherhope.net\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af\",\"name\":\"higherhope\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg\",\"contentUrl\":\"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg\",\"width\":700,\"height\":394,\"caption\":\"higherhope\"},\"logo\":{\"@id\":\"https:\/\/higherhope.net\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/higherhope5963\"],\"url\":\"https:\/\/higherhope.net\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","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:\/\/higherhope.net\/?p=5441","og_locale":"ja_JP","og_type":"article","og_title":"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","og_description":"SSH\u63a5\u7d9a\u6642&#8221;key type ssh-rsa not in PubkeyAcceptedAlgorithms&#8221;\u3068\u3044\u3046\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u63a5\u7d9a\u304c\u51fa\u6765\u306a\u3044\u6642\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3001S... Continue reading &rarr;","og_url":"https:\/\/higherhope.net\/?p=5441","og_site_name":"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","article_published_time":"2023-10-20T13:09:13+00:00","article_modified_time":"2023-10-20T13:13:47+00:00","author":"higherhope","twitter_card":"summary_large_image","twitter_creator":"@higherhope5963","twitter_site":"@higherhope5963","twitter_misc":{"\u57f7\u7b46\u8005":"higherhope"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/higherhope.net\/?p=5441#article","isPartOf":{"@id":"https:\/\/higherhope.net\/?p=5441"},"author":{"name":"higherhope","@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af"},"headline":"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5","datePublished":"2023-10-20T13:09:13+00:00","dateModified":"2023-10-20T13:13:47+00:00","mainEntityOfPage":{"@id":"https:\/\/higherhope.net\/?p=5441"},"wordCount":44,"commentCount":0,"publisher":{"@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af"},"keywords":["linux"],"articleSection":["linux"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/higherhope.net\/?p=5441#respond"]}]},{"@type":"WebPage","@id":"https:\/\/higherhope.net\/?p=5441","url":"https:\/\/higherhope.net\/?p=5441","name":"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5 - \u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","isPartOf":{"@id":"https:\/\/higherhope.net\/#website"},"datePublished":"2023-10-20T13:09:13+00:00","dateModified":"2023-10-20T13:13:47+00:00","breadcrumb":{"@id":"https:\/\/higherhope.net\/?p=5441#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/higherhope.net\/?p=5441"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/higherhope.net\/?p=5441#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/higherhope.net\/"},{"@type":"ListItem","position":2,"name":"SSH\u63a5\u7d9a\u6642\u306b \u201ckey type ssh-rsa not in PubkeyAcceptedAlgorithms\u201d\u3068\u30a8\u30e9\u30fc\u51fa\u305f\u6642\u306e\u89e3\u6c7a\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/higherhope.net\/#website","url":"https:\/\/higherhope.net\/","name":"\u697d\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002","description":"\u304a\u3063\u3055\u3093\u307e\u3060\u307e\u3060\u697d\u3067\u304d\u307e\u305b\u3093\u3002","publisher":{"@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/higherhope.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/higherhope.net\/#\/schema\/person\/d8206977903d5a243c56f95f977122af","name":"higherhope","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/higherhope.net\/#\/schema\/person\/image\/","url":"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg","contentUrl":"https:\/\/higherhope.net\/wp-content\/uploads\/2018\/09\/DSC_0367.jpg","width":700,"height":394,"caption":"higherhope"},"logo":{"@id":"https:\/\/higherhope.net\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/x.com\/higherhope5963"],"url":"https:\/\/higherhope.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts\/5441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5441"}],"version-history":[{"count":7,"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts\/5441\/revisions"}],"predecessor-version":[{"id":5448,"href":"https:\/\/higherhope.net\/index.php?rest_route=\/wp\/v2\/posts\/5441\/revisions\/5448"}],"wp:attachment":[{"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/higherhope.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}