{"id":516,"date":"2026-01-27T02:43:45","date_gmt":"2026-01-27T02:43:45","guid":{"rendered":"https:\/\/blog.gpst.net.cn:4008\/?p=516"},"modified":"2026-01-28T06:24:12","modified_gmt":"2026-01-28T06:24:12","slug":"debian12-key-exchange-failed-no-compatible-key-exchange-method","status":"publish","type":"post","link":"https:\/\/opshub.com.cn\/?p=516","title":{"rendered":"Debian12 Key exchange failed No compatible key exchange method."},"content":{"rendered":"\n<p>\u539f\u56e0\uff1aDebian12 \u7cfb\u7edf\u81ea\u5e26\u7684 OpenSSH_9.2p1 \u7248\u672c\u8f83\u9ad8\uff0c\u5bf9\u4f4e\u7248\u672cCRT\u5ba2\u6237\u7aef\u5bc6\u94a5\u4ea4\u6362\u7b97\u6cd5\u4e0d\u652f\u6301\u3002<\/p>\n\n\n\n<p><strong>\u89e3\u51b3\u601d\u8def\uff1a\u589e\u52a0 OpenSSH \u5bf9\u4f4e\u7248\u672cCRT\u5ba2\u6237\u7aef\u5bc6\u94a5\u7684\u652f\u6301\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u5728 \/etc\/ssh\/sshd_config \u6587\u4ef6\u4e2d\u8ffd\u52a0\u4ee5\u4e0b\u4e24\u884c\u6587\u672c<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HostKeyAlgorithms ssh-dss,ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512\nKexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u56e0\uff1aDebian12 \u7cfb\u7edf\u81ea\u5e26\u7684 OpenSSH_9.2p1 \u7248\u672c\u8f83\u9ad8\uff0c\u5bf9\u4f4e\u7248\u672cCRT\u5ba2\u6237\u7aef\u5bc6\u94a5\u4ea4\u6362\u7b97\u6cd5\u4e0d\u652f\u6301\u3002 \u89e3\u51b3\u601d\u8def\uff1a\u589e\u52a0 OpenSSH \u5bf9\u4f4e\u7248\u672cCRT\u5ba2\u6237\u7aef\u5bc6\u94a5\u7684\u652f\u6301\u3002 \u5728 \/etc\/ssh\/sshd_config \u6587\u4ef6\u4e2d\u8ffd\u52a0\u4ee5\u4e0b\u4e24\u884c\u6587\u672c<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=516"}],"version-history":[{"count":1,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/516\/revisions"}],"predecessor-version":[{"id":517,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/516\/revisions\/517"}],"wp:attachment":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}