{"id":2571,"date":"2017-08-05T16:01:21","date_gmt":"2017-08-05T08:01:21","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=2571"},"modified":"2017-08-05T16:01:21","modified_gmt":"2017-08-05T08:01:21","slug":"too-many-authentication-failures-for-root-%ef%bc%88code2%ef%bc%89%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/too-many-authentication-failures-for-root-%ef%bc%88code2%ef%bc%89%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95\/","title":{"rendered":"Too many authentication failures for root \uff08code2\uff09\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<h1>Too many authentication failures for root (code 2)\u89e3\u51b3\u529e\u6cd5<\/h1>\n<p>\u670d\u52a1\u5668\u53ef\u80fd\u7531\u4e8e\u88c5\u4e86\u4e00\u4e0b\u5b89\u5168\u8f6f\u4ef6\u5bfc\u81f4\u6709\u65f6\u7528ssh\u8fdc\u7a0b\u5de5\u5177\u767b\u9646\u4e0d\u4e86\uff0c\u63d0\u793a\u592a\u591a\u8ba4\u8bc1\u5931\u8d25for root\u3002<\/p>\n<p>\u89e3\u51b3\u529e\u6cd5\u3002\u6362\u4e2a\u5730\u5740\u767b\u5f55\u670d\u52a1\u5668\uff0c\u4fee\u6539ssh\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u5177\u4f53\u64cd\u4f5c\u5982\u4e0b\uff1a<\/p>\n<table class=\"crayon-table\" width=\"NaN\">\n<tbody>\n<tr class=\"crayon-row firstRow\">\n<td class=\"crayon-nums\" data-settings=\"show\">1<\/p>\n<p>2<\/p>\n<p>3<\/td>\n<td class=\"crayon-code\" width=\"698\"><span class=\"crayon-sy\">[<\/span><span class=\"crayon-v\">root<\/span><span class=\"crayon-sy\">@<\/span><span class=\"crayon-v\">localhost<\/span> <span class=\"crayon-o\">~<\/span><span class=\"crayon-sy\">]<\/span><span class=\"crayon-p\">#vim \/etc\/ssh\/sshd_config<\/span><\/p>\n<p>\u627e\u5230\u8fd9\u4e2a\u9009\u9879\uff1a<span class=\"crayon-v\">MaxAuthTries<\/span><span class=\"crayon-o\">=<\/span><span class=\"crayon-o\"><span style=\"color: #ce0000;\">1<\/span><\/span><\/p>\n<p>\u6539\u62102\u5373\u53ef\uff0c\u8fd9\u4e2a\u8fd8\u662f\u4e0d\u8981\u6539\u592a\u5927\u7684\u597d\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Too many authentication failures for root (code 2)\u89e3\u51b3\u529e\u6cd5  &#8230; <a title=\"Too many authentication failures for root \uff08code2\uff09\u89e3\u51b3\u529e\u6cd5\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/linux\/too-many-authentication-failures-for-root-%ef%bc%88code2%ef%bc%89%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95\/\" aria-label=\"\u9605\u8bfb Too many authentication failures for root \uff08code2\uff09\u89e3\u51b3\u529e\u6cd5\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49],"tags":[750],"class_list":["post-2571","post","type-post","status-publish","format-standard","hentry","category-linux","tag-too-many-authentication-failures-for-root-code2"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=2571"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2571\/revisions"}],"predecessor-version":[{"id":2572,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/2571\/revisions\/2572"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=2571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=2571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=2571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}