{"id":24201,"date":"2025-04-19T09:42:03","date_gmt":"2025-04-19T01:42:03","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/24201.html"},"modified":"2025-04-19T09:42:03","modified_gmt":"2025-04-19T01:42:03","slug":"%e8%ae%a9%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%9b%b4%e9%9a%90%e8%ba%ab%e7%9a%84%e7%a7%98%e5%af%86%e6%ad%a6%e5%99%a8%ef%bc%9a%e7%ab%af%e5%8f%a3%e6%95%b2%e9%97%a8%e6%8a%80%e6%9c%af","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/24201.html","title":{"rendered":"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f"},"content":{"rendered":"<h2>\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668&#xff1a;\u7aef\u53e3\u6572\u95e8\u6280\u672f<\/h2>\n<p>\u5927\u5bb6\u597d&#xff01;\u4eca\u5929\u6211\u4eec\u804a\u804a\u4e00\u4e2a\u6709\u8da3\u53c8\u5b9e\u7528\u7684\u6280\u672f\u2014\u2014\u7aef\u53e3\u6572\u95e8\u3002\u5b83\u53ef\u4ee5\u8ba9\u4f60\u7684\u670d\u52a1\u5668\u53d8\u5f97\u66f4\u52a0\u5b89\u5168&#xff0c;\u540c\u65f6\u907f\u514d\u88ab\u201c\u626b\u7aef\u53e3\u201d\u5de5\u5177\u8f7b\u677e\u8bc6\u522b&#xff0c;\u50cf\u4e00\u4e2a\u6709\u79d8\u5bc6\u901a\u9053\u7684\u5c0f\u5c4b\u4e00\u6837&#xff01;\u4f60\u53ea\u9700\u8981\u7528\u6b63\u786e\u7684\u201c\u6572\u95e8\u201d\u65b9\u5f0f&#xff0c;\u5c31\u80fd\u6253\u5f00\u5927\u95e8\u8fdb\u5165\u3002\u662f\u4e0d\u662f\u5f88\u795e\u5947&#xff1f;<\/p>\n<hr \/>\n<h3>1. \u4ec0\u4e48\u662f\u7aef\u53e3\u6572\u95e8&#xff1f;<\/h3>\n<p>\u7aef\u53e3\u6572\u95e8&#xff08;Port Knocking&#xff09;\u662f\u4e00\u4e2a\u5de7\u5999\u7684\u5b89\u5168\u6280\u672f&#xff0c;\u6838\u5fc3\u601d\u60f3\u662f&#xff1a; \u670d\u52a1\u5668\u7684\u7aef\u53e3\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u201c\u5173\u7740\u201d\u7684&#xff0c;\u53ea\u6709\u6309\u7279\u5b9a\u987a\u5e8f\u8bbf\u95ee\u4e00\u7cfb\u5217\u7aef\u53e3&#xff08;\u5373\u6572\u95e8&#xff09;&#xff0c;\u670d\u52a1\u5668\u624d\u4f1a\u4e34\u65f6\u6253\u5f00\u5173\u952e\u7aef\u53e3&#xff0c;\u6bd4\u5982 SSH \u7684 22 \u7aef\u53e3\u3002<\/p>\n<p>\u901a\u8fc7\u8fd9\u79cd\u201c\u52a8\u6001\u5f00\u95e8\u201d\u7684\u65b9\u5f0f&#xff0c;\u7aef\u53e3\u6572\u95e8\u8ba9\u670d\u52a1\u7aef\u53e3\u66f4\u9690\u79d8&#xff0c;\u5927\u5e45\u964d\u4f4e\u4e86\u88ab\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u7684\u98ce\u9669\u3002<\/p>\n<hr \/>\n<h3>2. \u4e3a\u4ec0\u4e48\u8981\u7528\u7aef\u53e3\u6572\u95e8&#xff1f;<\/h3>\n<p>\u4f60\u6216\u8bb8\u4f1a\u95ee&#xff1a;\u201c\u76f4\u63a5\u7528\u9632\u706b\u5899\u89c4\u5219\u9650\u5236 IP \u4e0d\u5c31\u884c\u4e86\u5417&#xff1f;\u201d \u786e\u5b9e\u53ef\u4ee5&#xff0c;\u4f46\u7aef\u53e3\u6572\u95e8\u6709\u4ee5\u4e0b\u51e0\u5927\u4f18\u52bf&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u9690\u85cf\u670d\u52a1\u7aef\u53e3 \u626b\u63cf\u5de5\u5177\u626b\u63cf\u4e0d\u5230\u4f60\u5173\u7740\u7684\u7aef\u53e3&#xff0c;\u5c31\u50cf\u6ca1\u627e\u5230\u95e8&#xff0c;\u8fd9\u5c31\u907f\u514d\u4e86\u5927\u591a\u6570\u5165\u4fb5\u8005\u7684\u653b\u51fb\u3002<\/p>\n<\/li>\n<li>\n<p>\u52a8\u6001\u5f00\u653e&#xff0c;\u7075\u6d3b\u7ba1\u7406 \u6839\u636e\u9700\u8981\u4e34\u65f6\u6253\u5f00\u7aef\u53e3&#xff0c;\u5e73\u65f6\u4e00\u76f4\u4fdd\u6301\u5173\u95ed\u72b6\u6001&#xff0c;\u51cf\u5c11\u66b4\u9732\u9762\u3002<\/p>\n<\/li>\n<li>\n<p>\u8f7b\u91cf\u7ea7&#xff0c;\u65e0\u9700\u590d\u6742\u914d\u7f6e \u914d\u7f6e\u7b80\u5355&#xff0c;\u4e0d\u9700\u8981\u989d\u5916\u7684\u5b89\u5168\u4ee3\u7406\u6216\u9ad8\u95e8\u69db\u5de5\u5177\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>3. \u4f7f\u7528\u573a\u666f\u6709\u54ea\u4e9b&#xff1f;<\/h3>\n<h4>1. \u4fdd\u62a4 SSH \u670d\u52a1<\/h4>\n<p>\u6bd4\u5982&#xff0c;\u4f60\u7684\u670d\u52a1\u5668 22 \u7aef\u53e3\u4e00\u76f4\u88ab\u653b\u51fb&#xff1f;\u5f00\u542f\u7aef\u53e3\u6572\u95e8&#xff0c;\u6309\u9700\u6253\u5f00 SSH \u670d\u52a1\u3002<\/p>\n<h4>2. \u4fdd\u62a4\u5185\u7f51\u670d\u52a1<\/h4>\n<p>\u4e0d\u60f3\u66b4\u9732\u67d0\u4e9b\u670d\u52a1&#xff08;\u5982\u6570\u636e\u5e93\u3001\u7ba1\u7406\u754c\u9762&#xff09;&#xff1f;\u901a\u8fc7\u6572\u95e8\u65b9\u5f0f&#xff0c;\u53ea\u7ed9\u7279\u5b9a\u7528\u6237\u5f00\u653e\u3002<\/p>\n<h4>3. \u8282\u7701\u8d44\u6e90<\/h4>\n<p>\u76f8\u6bd4\u590d\u6742\u7684 WAF \u6216\u4ee3\u7406\u670d\u52a1&#xff0c;\u7aef\u53e3\u6572\u95e8\u5bf9\u8d44\u6e90\u7684\u5360\u7528\u975e\u5e38\u5c0f\u3002<\/p>\n<hr \/>\n<h3>4. \u539f\u7406\u7b80\u5355\u8bf4<\/h3>\n<p>\u7aef\u53e3\u6572\u95e8\u7684\u5de5\u4f5c\u6d41\u7a0b\u5982\u4e0b&#xff1a;<\/p>\n<li>\u5ba2\u6237\u7aef\u6309\u7279\u5b9a\u987a\u5e8f\u8bbf\u95ee\u51e0\u4e2a\u6307\u5b9a\u7684\u7aef\u53e3&#xff08;\u6572\u95e8\u5e8f\u5217&#xff09;\u3002<\/li>\n<li>\u670d\u52a1\u7aef\u68c0\u6d4b\u5230\u6b63\u786e\u7684\u6572\u95e8\u5e8f\u5217\u540e&#xff0c;\u89e6\u53d1\u89c4\u5219&#xff0c;\u6253\u5f00\u76ee\u6807\u7aef\u53e3\u3002<\/li>\n<li>\u5ba2\u6237\u7aef\u5b8c\u6210\u8bbf\u95ee\u540e&#xff0c;\u53ef\u4ee5\u518d\u6572\u4e00\u6b21\u95e8\u5173\u95ed\u7aef\u53e3\u3002<\/li>\n<p>\u5c31\u50cf\u8f93\u5165\u5bc6\u7801\u4e00\u6837&#xff0c;\u6ca1\u6709\u6b63\u786e\u7684\u6572\u95e8\u5e8f\u5217&#xff0c;\u670d\u52a1\u5668\u7684\u5927\u95e8\u5c31\u4e0d\u4f1a\u6253\u5f00\u3002<\/p>\n<hr \/>\n<h3>5. \u5b9e\u6218\u914d\u7f6e&#xff1a;\u4f7f\u7528 knockd<\/h3>\n<p>\u4e0b\u9762\u6211\u4eec\u901a\u8fc7\u4e00\u4e2a\u5177\u4f53\u7684\u4f8b\u5b50\u6765\u5b66\u4e60\u5982\u4f55\u914d\u7f6e\u7aef\u53e3\u6572\u95e8\u3002<\/p>\n<h4>\u73af\u5883\u5047\u8bbe<\/h4>\n<ul>\n<li>\u670d\u52a1\u5668 IP&#xff1a;192.168.1.100<\/li>\n<li>\u76ee\u6807\u670d\u52a1&#xff1a;SSH&#xff08;22 \u7aef\u53e3&#xff09;<\/li>\n<li>\u6572\u95e8\u5e8f\u5217&#xff1a;7000, 8000, 9000<\/li>\n<\/ul>\n<h4>1. \u5b89\u88c5 knockd<\/h4>\n<p>\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u7aef\u53e3\u6572\u95e8\u670d\u52a1 knockd&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> knockd <span class=\"token parameter variable\">-y<\/span>  <span class=\"token comment\"># Ubuntu\/Debian<\/span><br \/>\n<span class=\"token function\">sudo<\/span> yum <span class=\"token function\">install<\/span> knock <span class=\"token parameter variable\">-y<\/span>   <span class=\"token comment\"># CentOS\/RHEL<\/span><\/p>\n<h4>2. \u914d\u7f6e knockd<\/h4>\n<p>\u7f16\u8f91 \/etc\/knockd.conf \u6587\u4ef6&#xff1a;<\/p>\n<p><span class=\"token punctuation\">[<\/span>options<span class=\"token punctuation\">]<\/span><br \/>\n    logfile <span class=\"token operator\">&#061;<\/span> \/var\/log\/knockd.log  <span class=\"token comment\"># \u65e5\u5fd7\u6587\u4ef6\u8def\u5f84<\/span><br \/>\n    interface <span class=\"token operator\">&#061;<\/span> eth0              <span class=\"token comment\"># \u76d1\u542c\u7684\u7f51\u7edc\u63a5\u53e3<\/span><\/p>\n<p><span class=\"token punctuation\">[<\/span>open-ssh<span class=\"token punctuation\">]<\/span><br \/>\n    sequence    <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">7000,8000<\/span>,9000  <span class=\"token comment\"># \u6572\u95e8\u7aef\u53e3\u5e8f\u5217<\/span><br \/>\n    seq_timeout <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">10<\/span>              <span class=\"token comment\"># \u6572\u95e8\u65f6\u95f4\u7a97\u53e3&#xff08;\u79d2&#xff09;<\/span><br \/>\n    <span class=\"token builtin class-name\">command<\/span>     <span class=\"token operator\">&#061;<\/span> \/usr\/sbin\/iptables <span class=\"token parameter variable\">-I<\/span> INPUT <span class=\"token parameter variable\">-s<\/span> %IP% <span class=\"token parameter variable\">-p<\/span> tcp <span class=\"token parameter variable\">&#8211;dport<\/span> <span class=\"token number\">22<\/span> <span class=\"token parameter variable\">-j<\/span> ACCEPT<br \/>\n    tcpflags    <span class=\"token operator\">&#061;<\/span> syn             <span class=\"token comment\"># \u53ea\u5339\u914d SYN \u5305<\/span><\/p>\n<p><span class=\"token punctuation\">[<\/span>close-ssh<span class=\"token punctuation\">]<\/span><br \/>\n    sequence    <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">9000,8000<\/span>,7000  <span class=\"token comment\"># \u5173\u95ed\u7aef\u53e3\u7684\u6572\u95e8\u5e8f\u5217<\/span><br \/>\n    seq_timeout <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">10<\/span><br \/>\n    <span class=\"token builtin class-name\">command<\/span>     <span class=\"token operator\">&#061;<\/span> \/usr\/sbin\/iptables <span class=\"token parameter variable\">-D<\/span> INPUT <span class=\"token parameter variable\">-s<\/span> %IP% <span class=\"token parameter variable\">-p<\/span> tcp <span class=\"token parameter variable\">&#8211;dport<\/span> <span class=\"token number\">22<\/span> <span class=\"token parameter variable\">-j<\/span> ACCEPT<br \/>\n    tcpflags    <span class=\"token operator\">&#061;<\/span> syn<\/p>\n<p>\u914d\u7f6e\u89e3\u91ca&#xff1a;<\/p>\n<ul>\n<li>sequence&#xff1a;\u6572\u95e8\u7684\u7aef\u53e3\u5e8f\u5217&#xff0c;\u987a\u5e8f\u5fc5\u987b\u6b63\u786e\u3002<\/li>\n<li>seq_timeout&#xff1a;\u6572\u95e8\u7684\u65f6\u95f4\u7a97\u53e3&#xff0c;\u8d85\u8fc7\u65f6\u95f4\u7a97\u53e3\u6572\u95e8\u65e0\u6548\u3002<\/li>\n<li>command&#xff1a;\u6572\u95e8\u6210\u529f\u540e\u6267\u884c\u7684\u547d\u4ee4&#xff0c;\u6bd4\u5982\u52a8\u6001\u4fee\u6539\u9632\u706b\u5899\u89c4\u5219\u3002<\/li>\n<li>%IP%&#xff1a;\u53d8\u91cf&#xff0c;\u8868\u793a\u5f53\u524d\u6572\u95e8\u7684\u6765\u6e90 IP\u3002<\/li>\n<\/ul>\n<hr \/>\n<h4>3. \u542f\u52a8\u670d\u52a1<\/h4>\n<p>\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u542f\u52a8 knockd \u670d\u52a1&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> knockd<br \/>\n<span class=\"token function\">sudo<\/span> systemctl start knockd<\/p>\n<hr \/>\n<h4>4. \u6d4b\u8bd5\u6572\u95e8<\/h4>\n<h5>\u6253\u5f00 SSH \u670d\u52a1<\/h5>\n<p>\u5728\u5ba2\u6237\u7aef\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>knock <span class=\"token number\">192.168<\/span>.1.100 <span class=\"token number\">7000<\/span> <span class=\"token number\">8000<\/span> <span class=\"token number\">9000<\/span><\/p>\n<p>\u6210\u529f\u540e&#xff0c;\u4f60\u53ef\u4ee5\u901a\u8fc7 SSH \u8bbf\u95ee\u670d\u52a1\u5668&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> user&#064;192.168.1.100<\/p>\n<h5>\u5173\u95ed SSH \u670d\u52a1<\/h5>\n<p>\u7528\u76f8\u53cd\u7684\u6572\u95e8\u5e8f\u5217\u5173\u95ed&#xff1a;<\/p>\n<p>knock <span class=\"token number\">192.168<\/span>.1.100 <span class=\"token number\">9000<\/span> <span class=\"token number\">8000<\/span> <span class=\"token number\">7000<\/span><\/p>\n<hr \/>\n<h4>5. \u9a8c\u8bc1\u914d\u7f6e<\/h4>\n<ul>\n<li>\n<p>\u68c0\u67e5\u9632\u706b\u5899\u89c4\u5219&#xff1a;<\/p>\n<p> <span class=\"token function\">sudo<\/span> iptables <span class=\"token parameter variable\">-L<\/span> <span class=\"token parameter variable\">-n<\/span>\n <\/li>\n<li>\n<p>\u67e5\u770b\u6572\u95e8\u65e5\u5fd7&#xff1a;<\/p>\n<p> <span class=\"token function\">cat<\/span> \/var\/log\/knockd.log\n <\/li>\n<\/ul>\n<hr \/>\n<h3>6. \u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3<\/h3>\n<ul>\n<li>\n<p>\u6572\u95e8\u65e0\u6548&#xff1f;<\/p>\n<li>\u786e\u8ba4\u76d1\u542c\u7684\u7f51\u7edc\u63a5\u53e3\u6b63\u786e\u3002<span class=\"token function\">sudo<\/span> knockd <span class=\"token parameter variable\">-D<\/span> <span class=\"token parameter variable\">-i<\/span> eth0\n <\/li>\n<li>\u68c0\u67e5\u5ba2\u6237\u7aef\u662f\u5426\u5b89\u88c5 knock \u5de5\u5177\u3002<\/li>\n<\/li>\n<li>\n<p>\u6572\u95e8\u8d85\u65f6&#xff1f; \u786e\u4fdd\u6572\u95e8\u5e8f\u5217\u5728 seq_timeout \u65f6\u95f4\u5185\u5b8c\u6210\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>7. \u603b\u7ed3<\/h3>\n<p>\u7aef\u53e3\u6572\u95e8\u6280\u672f\u662f\u4e00\u4e2a\u7b80\u5355\u53c8\u5f3a\u5927\u7684\u5b89\u5168\u5de5\u5177&#xff0c;\u9002\u7528\u4e8e\u5404\u79cd\u573a\u666f\u3002\u901a\u8fc7\u6b63\u786e\u7684\u914d\u7f6e&#xff0c;\u4f60\u53ef\u4ee5\u8f7b\u677e\u4fdd\u62a4 SSH \u6216\u5176\u4ed6\u670d\u52a1\u514d\u53d7\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u7528\u8fc7&#xff0c;\u4e0d\u59a8\u8bd5\u8bd5&#xff01;\u8ba9\u4f60\u7684\u670d\u52a1\u5668\u4ece\u6b64\u591a\u4e00\u5c42\u201c\u9690\u8eab\u201d\u6280\u80fd\u5427&#xff01;<\/p>\n<p>\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9&#xff0c;\u6b22\u8fce\u5728\u5b9e\u8df5\u4e2d\u5c1d\u8bd5\u5e76\u5206\u4eab\u4f60\u7684\u7ecf\u9a8c&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e28\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u670d\u52a1\u5668\u7684\u7aef\u53e3\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u201c\u5173\u7740\u201d\u7684\uff0c\u53ea\u6709\u6309\u7279\u5b9a\u987a\u5e8f\u8bbf\u95ee\u4e00\u7cfb\u5217\u7aef\u53e3\uff08\u5373\u6572\u95e8\uff09\uff0c\u670d\u52a1\u5668\u624d\u4f1a\u4e34\u65f6\u6253\u5f00\u5173\u952e\u7aef\u53e3\uff0c\u6bd4\u5982 SSH \u7684 22 \u7aef\u53e3\u3002\u901a\u8fc7\u8fd9\u79cd\u201c\u52a8\u6001\u5f00\u95e8\u201d\u7684\u65b9\u5f0f\uff0c\u7aef\u53e3\u6572\u95e8\u8ba9\u670d\u52a1\u7aef\u53e3\u66f4\u9690\u79d8\uff0c\u5927\u5e45\u964d\u4f4e\u4e86\u88ab\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u7684\u98ce\u9669\u3002\u7aef\u53e3\u6572\u95e8\u6280\u672f\u662f\u4e00\u4e2a\u7b80\u5355\u53c8\u5f3a\u5927\u7684\u5b89\u5168\u5de5\u5177\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u573a\u666f\u3002\u901a\u8fc7\u6b63\u786e\u7684\u914d\u7f6e\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u4fdd\u62a4 SSH \u6216\u5176\u4ed6\u670d\u52a1\u514d\u53d7\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u7528\u8fc7\uff0c\u4e0d\u59a8\u8bd5\u8bd5\uff01\u8ba9\u4f60\u7684\u670d\u52a1\u5668\u4ece\u6b64\u591a\u4e00\u5c42\u201c\u9690\u8eab\u201d\u6280\u80fd\u5427\uff01\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u6b22\u8fce\u5728\u5b9e\u8df5\u4e2d\u5c1d\u8bd5\u5e76\u5206\u4eab\u4f60\u7684\u7ecf\u9a8c\uff01_\u7aef\u53e3\u6572\u95e8\u6280\u672f<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1867,61,100,43,44],"topic":[],"class_list":["post-24201","post","type-post","status-publish","format-standard","hentry","category-server","tag-linux","tag-61","tag-100","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/24201.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e28\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u670d\u52a1\u5668\u7684\u7aef\u53e3\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u201c\u5173\u7740\u201d\u7684\uff0c\u53ea\u6709\u6309\u7279\u5b9a\u987a\u5e8f\u8bbf\u95ee\u4e00\u7cfb\u5217\u7aef\u53e3\uff08\u5373\u6572\u95e8\uff09\uff0c\u670d\u52a1\u5668\u624d\u4f1a\u4e34\u65f6\u6253\u5f00\u5173\u952e\u7aef\u53e3\uff0c\u6bd4\u5982 SSH \u7684 22 \u7aef\u53e3\u3002\u901a\u8fc7\u8fd9\u79cd\u201c\u52a8\u6001\u5f00\u95e8\u201d\u7684\u65b9\u5f0f\uff0c\u7aef\u53e3\u6572\u95e8\u8ba9\u670d\u52a1\u7aef\u53e3\u66f4\u9690\u79d8\uff0c\u5927\u5e45\u964d\u4f4e\u4e86\u88ab\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u7684\u98ce\u9669\u3002\u7aef\u53e3\u6572\u95e8\u6280\u672f\u662f\u4e00\u4e2a\u7b80\u5355\u53c8\u5f3a\u5927\u7684\u5b89\u5168\u5de5\u5177\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u573a\u666f\u3002\u901a\u8fc7\u6b63\u786e\u7684\u914d\u7f6e\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u4fdd\u62a4 SSH \u6216\u5176\u4ed6\u670d\u52a1\u514d\u53d7\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u7528\u8fc7\uff0c\u4e0d\u59a8\u8bd5\u8bd5\uff01\u8ba9\u4f60\u7684\u670d\u52a1\u5668\u4ece\u6b64\u591a\u4e00\u5c42\u201c\u9690\u8eab\u201d\u6280\u80fd\u5427\uff01\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u6b22\u8fce\u5728\u5b9e\u8df5\u4e2d\u5c1d\u8bd5\u5e76\u5206\u4eab\u4f60\u7684\u7ecf\u9a8c\uff01_\u7aef\u53e3\u6572\u95e8\u6280\u672f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/24201.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T01:42:03+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24201.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/24201.html\",\"name\":\"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T01:42:03+00:00\",\"dateModified\":\"2025-04-19T01:42:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/24201.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/24201.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/24201.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/24201.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.5k\u6b21\uff0c\u70b9\u8d5e28\u6b21\uff0c\u6536\u85cf14\u6b21\u3002\u670d\u52a1\u5668\u7684\u7aef\u53e3\u5728\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u662f\u201c\u5173\u7740\u201d\u7684\uff0c\u53ea\u6709\u6309\u7279\u5b9a\u987a\u5e8f\u8bbf\u95ee\u4e00\u7cfb\u5217\u7aef\u53e3\uff08\u5373\u6572\u95e8\uff09\uff0c\u670d\u52a1\u5668\u624d\u4f1a\u4e34\u65f6\u6253\u5f00\u5173\u952e\u7aef\u53e3\uff0c\u6bd4\u5982 SSH \u7684 22 \u7aef\u53e3\u3002\u901a\u8fc7\u8fd9\u79cd\u201c\u52a8\u6001\u5f00\u95e8\u201d\u7684\u65b9\u5f0f\uff0c\u7aef\u53e3\u6572\u95e8\u8ba9\u670d\u52a1\u7aef\u53e3\u66f4\u9690\u79d8\uff0c\u5927\u5e45\u964d\u4f4e\u4e86\u88ab\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u7684\u98ce\u9669\u3002\u7aef\u53e3\u6572\u95e8\u6280\u672f\u662f\u4e00\u4e2a\u7b80\u5355\u53c8\u5f3a\u5927\u7684\u5b89\u5168\u5de5\u5177\uff0c\u9002\u7528\u4e8e\u5404\u79cd\u573a\u666f\u3002\u901a\u8fc7\u6b63\u786e\u7684\u914d\u7f6e\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u4fdd\u62a4 SSH \u6216\u5176\u4ed6\u670d\u52a1\u514d\u53d7\u6076\u610f\u626b\u63cf\u548c\u653b\u51fb\u3002\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u7528\u8fc7\uff0c\u4e0d\u59a8\u8bd5\u8bd5\uff01\u8ba9\u4f60\u7684\u670d\u52a1\u5668\u4ece\u6b64\u591a\u4e00\u5c42\u201c\u9690\u8eab\u201d\u6280\u80fd\u5427\uff01\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u6b22\u8fce\u5728\u5b9e\u8df5\u4e2d\u5c1d\u8bd5\u5e76\u5206\u4eab\u4f60\u7684\u7ecf\u9a8c\uff01_\u7aef\u53e3\u6572\u95e8\u6280\u672f","og_url":"https:\/\/www.wsisp.com\/helps\/24201.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T01:42:03+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/24201.html","url":"https:\/\/www.wsisp.com\/helps\/24201.html","name":"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T01:42:03+00:00","dateModified":"2025-04-19T01:42:03+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/24201.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/24201.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/24201.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8ba9\u670d\u52a1\u5668\u66f4\u201c\u9690\u8eab\u201d\u7684\u79d8\u5bc6\u6b66\u5668\uff1a\u7aef\u53e3\u6572\u95e8\u6280\u672f"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=24201"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/24201\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=24201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=24201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=24201"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=24201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}