{"id":107,"date":"2023-06-05T13:26:57","date_gmt":"2023-06-05T05:26:57","guid":{"rendered":"http:\/\/pro369.com\/linux\/?p=107"},"modified":"2019-05-21T09:19:37","modified_gmt":"2019-05-21T09:19:37","slug":"ssh-%e5%8a%9f%e8%83%bd%e8%ae%8a%e6%95%b8%e5%90%8d%e8%a7%a3%e6%9e%90%e7%99%bb%e5%85%a5%e5%bb%b6%e9%81%b2%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/por.tw\/linux\/ssh-%e5%8a%9f%e8%83%bd%e8%ae%8a%e6%95%b8%e5%90%8d%e8%a7%a3%e6%9e%90%e7%99%bb%e5%85%a5%e5%bb%b6%e9%81%b2%e5%95%8f%e9%a1%8c\/","title":{"rendered":"ssh \u529f\u80fd\u8b8a\u6578\u540d\u89e3\u6790\u767b\u5165\u5ef6\u9072\u554f\u984c"},"content":{"rendered":"<p><strong>&nbsp;ssh \u529f\u80fd\u8b8a\u6578\u540d\u89e3\u6790\u767b\u5165\u5ef6\u9072\u554f\u984c<\/p>\n<p> \u6700\u8fd1\u5728\u5de5\u4f5c\u4e2d\u5e38\u5e38\u7528ssh\u767b\u5165\u67d0\u500b\u7bc0\u9ede\u7684\u4f3a\u670d\u5668\u89e3\u6790\u529f\u80fd\u8b8a\u6578\u540d\u7684\u6642\u9593\u975e\u5e38\u9577\uff1a<\/p>\n<p> \u5f15\u7528<br \/> # time ssh<br \/> real&nbsp;&nbsp;&nbsp; 0m19.928s<br \/> user&nbsp;&nbsp;&nbsp; 0m0.008s<br \/> sys&nbsp;&nbsp;&nbsp;&nbsp; 0m0.001s<\/p>\n<p> \u53ef\u4ee5\u770b\u5230\u767b\u5165\u9019\u500b\u9ede\u4f3a\u670d\u5668\u9700\u8981\u8fd120\u79d2\u7684\u6642\u9593\uff1b<br \/> \u7136\u5f8c\u7528nslookup\u6aa2\u67e5\u4e86\u9019\u500b\u529f\u80fd\u8b8a\u6578\u540dip\u4f4d\u5740\uff0c\u5831\u4e86\uff1a<br \/> \u5f15\u7528<br \/> connection timed out; no servers could be reached<\/p>\n<p> \u7684\u932f\u8aa4\uff1b<br \/> \u7528ping\u662f\u53ef\u4ee5\u89e3\u6790\uff0c\u4e0d\u904e\u89e3\u6790\u6642\u9593\u4e5f\u5f88\u9577\uff1b\u9019\u500b\u554f\u984c\u7684\u539f\u56e0\uff0c\u76ee\u524d\u9084\u4e0d\u662f\u5f88\u6e05\u695a\uff0c\u61f7\u7591\u662f\u5426\u662f\u65b0\u555f\u7528\u7684ip\u4f4d\u5740\u53ef\u80fd\u5b58\u5728\u9019\u65b9\u9762\u7684\u60c5\u6cc1\u3002<br \/> ssh\u767b\u5165\u7de9\u6162\u7684\u554f\u984c\u53ef\u4ee5\u901a\u904e\u4fee\u6539sshd_config\u6a94\u6848\u4e2d\u7684GSSAPI options\uff1a<br \/> \u5f15\u7528<br \/> # GSSAPI options<br \/> # GSSAPIAuthentication no<br \/> # GSSAPIAuthentication yes<br \/> # GSSAPICleanupCredentials yes<br \/> <\/strong><br \/> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/visdacom.com\/linux\/wp-content\/uploads\/2013\/04\/1879190784.jpg\"  width=\"226\" height=\"223\" \/><strong><\/p>\n<p> \u5168\u90e8\u8a3b\u91cb\u6389\uff0c\u7136\u5f8c\u91cd\u555fsshd\u670d\u52d9\uff1b\u518d\u6e2c\u8a66\u767b\u5165\uff1a<br \/> \u5f15\u7528<br \/> # time ssh<br \/> real&nbsp;&nbsp;&nbsp; 0m2.229s<br \/> user&nbsp;&nbsp;&nbsp; 0m0.006s<br \/> sys&nbsp;&nbsp;&nbsp;&nbsp; 0m0.002s<\/p>\n<p> \u6062\u5fa9\u6a19\u6e96\uff01<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;ssh \u529f\u80fd\u8b8a\u6578\u540d\u89e3\u6790\u767b\u5165\u5ef6\u9072\u554f\u984c \u6700\u8fd1\u5728\u5de5\u4f5c\u4e2d\u5e38\u5e38\u7528ssh\u767b\u5165\u67d0\u500b\u7bc0\u9ede\u7684\u4f3a\u670d\u5668\u89e3\u6790\u529f\u80fd\u8b8a\u6578\u540d\u7684\u6642 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":499,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[20],"class_list":["post-107","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts\/107"}],"collection":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/media\/499"}],"wp:attachment":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}