{"id":574,"date":"2020-07-04T17:56:12","date_gmt":"2020-07-04T09:56:12","guid":{"rendered":"http:\/\/pony.hk\/?p=574"},"modified":"2020-07-04T19:17:57","modified_gmt":"2020-07-04T11:17:57","slug":"ssh%e6%9a%b4%e5%8a%9b%e7%a0%b4%e8%a7%a3%e7%9a%84%e7%96%91%e9%97%ae","status":"publish","type":"post","link":"https:\/\/lnmp.ivan.xin\/?p=574","title":{"rendered":"SSH\u66b4\u529b\u7834\u89e3\u7684\u7591\u95ee"},"content":{"rendered":"<p>\u6709\u4e0a\u5343\u4e2aIP\u4e0d\u505c\u7684\u5c1d\u8bd5SSH\u767b\u5f55\u6211\u7684\u670d\u52a1\u5668\u3002\/var\/log\/secure\u91cc\u62a5\u9519\u5982\u4e0b\uff1a<\/p>\n<p>Failed password for invalid user root from 203.195.204.106 port 54968 ssh2<br \/>\nFailed password for invalid user uftp from 83.167.87.198 port 54595 ssh2<\/p>\n<p>\u6211\u7684\u7591\u95ee\u662f\uff1a\u7aef\u53e354968\uff0c\u6211\u5728\u817e\u8baf\u4e91\u7684\u5b89\u5168\u7b56\u7565\u91cc\u6839\u672c\u6ca1\u6709\u653e\u884c\uff0c\u600e\u4e48\u7cfb\u7edf\u91cc\u8fd8\u80fd\u62a5\u9519\u5462\uff1f\u6309\u7406\u8bf4\u8bf7\u6c42\u8fc7\u6765\u5230\u9632\u706b\u5899\u5c31\u7ed9\u62e6\u622a\u4e86\uff0c\u4e3b\u673a\u5e94\u8be5\u63a5\u6536\u4e0d\u5230\u8bf7\u6c42\u554a\u3002\u53e6\u5916\u5c31\u662f\uff0c\u8fd9\u4e2a\u7aef\u53e3\u53f7\u4e5f\u4e0d\u662f\u6211\u8bbe\u7f6e\u7684SSH\u7aef\u53e3\u53f7\uff0c\u4e3a\u4ec0\u4e48SSH\u8981\u62a5\u51fa\u6765\u767b\u5f55\u9519\u8bef\uff1f<\/p>\n<p>\u4eb2\u6d4b\uff0c\u4e0d\u540c\u7684\u8bbe\u7f6e\uff0c\u6548\u679c\u4e0d\u4e00\u6837\u3002\uff08\u5047\u8bbe1.1.1.1\u662f\u6211\u7684\u7535\u8111IP\uff0cSSH\u7aef\u53e3\u53f7\u662f1234\uff09<\/p>\n<p><strong>\u4e0b\u8fb9\u8fd9\u6837\u7684\u5165\u7ad9\u89c4\u5219\uff0c\u4e0d\u8d77\u4f5c\u7528\uff0c\u65e5\u5fd7\u91cc\u8fd8\u662f\u4f1a\u4e00\u76f4\u62a5\u9519<\/strong><br \/>\n0.0.0.0\/0 TCP:1234 \u5141\u8bb8<br \/>\n0.0.0.0\/0 ALL \u62d2\u7edd<\/p>\n<p><strong>\u6362\u6210\u8fd9\u6837\u7684\u5165\u7ad9\u89c4\u5219\uff0c\u5c31\u8d77\u4f5c\u7528\u4e86\uff0c\u65e5\u5fd7\u91cc\u4e0d\u518d\u62a5\u9519<\/strong><br \/>\n1.1.1.1 TCP:1234 \u5141\u8bb8<br \/>\n0.0.0.0\/0 TCP:1234 \u62d2\u7edd<\/p>\n<p><strong>\u4e0d\u77e5\u9053\u539f\u56e0<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u4e0a\u5343\u4e2aIP\u4e0d\u505c\u7684\u5c1d\u8bd5SSH\u767b\u5f55\u6211\u7684\u670d\u52a1\u5668\u3002\/var\/log\/secure\u91cc\u62a5\u9519\u5982\u4e0b\uff1a Failed pass...<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-574","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/posts\/574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=574"}],"version-history":[{"count":8,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/posts\/574\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=\/wp\/v2\/posts\/574\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lnmp.ivan.xin\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}