{"id":115685,"date":"2026-10-13T03:41:20","date_gmt":"2026-10-12T19:41:20","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/115685.html"},"modified":"2026-10-13T03:41:20","modified_gmt":"2026-10-12T19:41:20","slug":"%e8%ae%b0%e4%b8%80%e6%ac%a1-centos-7-%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%bd%91%e7%bb%9c%e9%85%8d%e7%bd%ae%e4%b8%8e-ssh-%e8%bf%9c%e7%a8%8b%e8%bf%9e%e6%8e%a5%e6%8e%92%e9%94%99","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/115685.html","title":{"rendered":"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261012194117-6acd37ddceb6c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4e3a\u5b9e\u9a8c\u5ba4\u914d\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519\u7684\u4e00\u6b21\u7ecf\u5386&#xff0c;\u4ec5\u4f5c\u5206\u4eab\u3002<br \/>\n\u5185\u5bb9\u5df2\u7ecf\u8fdb\u884c\u8131\u654f&#xff0c;IP\u5730\u5740\u975e\u771f\u5b9eIP\u3002<\/p>\n<p>\u4e3b\u9898&#xff1a;\u4ece\u201c\u8fdb\u4e0d\u53bb\u7cfb\u7edf\u201d\u5230\u201c\u914d\u7f6e IP\u3001\u8fde\u63a5 WiFi\u3001\u5f00\u542f SSH\u3001\u6392\u67e5\u516c\u7f51\u4e0e\u5c40\u57df\u7f51\u8fdc\u7a0b\u8fde\u63a5\u201d\u7684\u5b8c\u6574\u5b9e\u8df5\u8bb0\u5f55\u3002<br \/>\n\u8bf4\u660e&#xff1a;\u672c\u6587\u5df2\u5bf9\u7528\u6237\u540d\u3001SSID\u3001MAC \u5730\u5740\u3001\u516c\u7f51 IP\u3001\u5185\u7f51 IP\u3001\u8def\u5f84\u548c\u5bc6\u7801\u7b49\u4fe1\u606f\u8fdb\u884c\u8131\u654f&#xff0c;\u6240\u6709\u5730\u5740\u5747\u4e3a\u793a\u4f8b\u3002<br \/>\n\u9002\u7528\u5bf9\u8c61&#xff1a;\u521a\u63a5\u89e6 Linux \u670d\u52a1\u5668\u3001CentOS 7\u3001SSH \u8fdc\u7a0b\u8fde\u63a5\u3001\u6821\u56ed\u7f51\/\u5185\u7f51\u73af\u5883\u6392\u9519\u7684\u540c\u5b66\u3002<br \/>\n\u5b9e\u9a8c\u73af\u5883&#xff1a;\u666e\u901a\u53f0\u5f0f\u4e3b\u673a \/ CentOS Linux 7 \/ \u6709\u7ebf\u516c\u7f51 IP \/ \u6821\u56ed WiFi \/ \u624b\u673a\u70ed\u70b9 \/ Windows \u5ba2\u6237\u7aef \/ SSH \u5ba2\u6237\u7aef\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u80cc\u666f\u8bf4\u660e<\/h3>\n<p>\u8fd9\u6b21\u5b9e\u8df5\u7684\u76ee\u6807\u5f88\u7b80\u5355&#xff1a;<\/p>\n<p>\u7ed9\u4e00\u53f0\u8fdb\u4e0d\u53bb\u7cfb\u7edf\u7684 CentOS 7 \u4e3b\u673a\u91cd\u65b0\u8bbe\u7f6e\u5bc6\u7801\u3001\u914d\u7f6e\u7f51\u7edc&#xff0c;\u5e76\u8ba9\u5b83\u53ef\u4ee5\u50cf \u4e91\u670d\u52a1\u5668\u5e73\u53f0 \u4e91\u670d\u52a1\u5668\u4e00\u6837&#xff0c;\u901a\u8fc7 SSH \u5730\u5740\u3001\u7aef\u53e3\u3001\u7528\u6237\u540d\u3001\u5bc6\u7801\u8fdb\u884c\u8fdc\u7a0b\u767b\u5f55\u3002<\/p>\n<p>\u4f46\u5b9e\u9645\u8fc7\u7a0b\u5e76\u4e0d\u7b80\u5355&#xff0c;\u4e2d\u95f4\u9047\u5230\u4e86\u5f88\u591a\u5178\u578b\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>\u4e0d\u77e5\u9053 root \u5bc6\u7801&#xff0c;\u65e0\u6cd5\u767b\u5f55\u7cfb\u7edf&#xff1b;<\/li>\n<li>\u9700\u8981\u901a\u8fc7 GRUB \u5355\u7528\u6237\u6a21\u5f0f\u91cd\u7f6e\u5bc6\u7801&#xff1b;<\/li>\n<li>\u6709\u7ebf\u7f51\u5361\u914d\u7f6e\u4e86\u516c\u7f51 IP&#xff0c;\u4f46\u7f51\u5173\u4e0d\u901a&#xff1b;<\/li>\n<li>Windows \u7535\u8111\u80fd ping \u901a\u7f51\u5173&#xff0c;\u4f46 ping \u4e0d\u901a\u670d\u52a1\u5668\u516c\u7f51 IP&#xff1b;<\/li>\n<li>\u5b66\u6821 WiFi \u4e0b\u670d\u52a1\u5668\u80fd\u4e0a\u7f51&#xff0c;\u4f46 Windows \u4e0d\u80fd SSH \u8fdb\u670d\u52a1\u5668&#xff1b;<\/li>\n<li>\u8bef\u4ee5\u4e3a\u201c\u540c\u4e00\u4e2a WiFi\u201d\u5c31\u4e00\u5b9a\u80fd\u4e92\u901a&#xff1b;<\/li>\n<li>\u6700\u540e\u53d1\u73b0&#xff1a;\u80fd\u4e0a\u7f51\u4e0d\u7b49\u4e8e\u80fd\u88ab\u522b\u4eba\u8fde\u8fdb\u6765&#xff1b;<\/li>\n<li>\u8fd8\u5c1d\u8bd5\u4e86\u624b\u673a\u70ed\u70b9\u3001WiFi\u3001SSH \u5bc6\u7801\u767b\u5f55\u3001\u666e\u901a\u7528\u6237\u3001\u79c1\u94a5\u3001ZeroTier\u3001Tailscale\u3001Stowaway\u3001Proxifier \u7b49\u601d\u8def\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u4f1a\u628a\u6574\u4e2a\u6392\u9519\u8fc7\u7a0b\u6574\u7406\u6210\u4e00\u4efd\u6559\u5b66\u535a\u5ba2&#xff0c;\u91cd\u70b9\u8bb2\u6e05\u695a&#xff1a;CentOS 7 \u5982\u4f55\u91cd\u7f6e root \u5bc6\u7801&#xff0c;\u5982\u4f55\u914d\u7f6e\u6709\u7ebf\u9759\u6001 IP&#xff0c;\u5982\u4f55\u914d\u7f6e WiFi&#xff0c;\u5982\u4f55\u5f00\u542f SSH&#xff0c;\u4e3a\u4ec0\u4e48 ping \u901a\u4e0d\u4ee3\u8868 SSH \u80fd\u8fde&#xff0c;\u4e3a\u4ec0\u4e48\u670d\u52a1\u5668\u80fd\u4e0a\u7f51\u4e0d\u4ee3\u8868\u522b\u4eba\u80fd\u8fde\u8fdb\u6765&#xff0c;\u4ee5\u53ca\u5916\u5730\u7684\u4eba\u60f3 SSH \u8fdb\u6765\u5230\u5e95\u5e94\u8be5\u600e\u4e48\u505a\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u7b2c\u4e00\u9636\u6bb5&#xff1a;\u5fd8\u8bb0\u5bc6\u7801&#xff0c;\u8fdb\u5165\u7cfb\u7edf\u91cd\u7f6e root \u5bc6\u7801<\/h3>\n<p>\u521a\u5f00\u59cb\u8fd9\u53f0 CentOS \u4e3b\u673a\u65e0\u6cd5\u767b\u5f55&#xff0c;\u56e0\u4e3a\u4e0d\u77e5\u9053\u8d26\u53f7\u5bc6\u7801\u3002\u5982\u679c\u4f60\u6709\u7269\u7406\u63a7\u5236\u53f0\u6216\u865a\u62df\u673a\u63a7\u5236\u53f0&#xff0c;\u53ef\u4ee5\u901a\u8fc7 GRUB \u8fdb\u5165 emergency mode&#xff0c;\u91cd\u7f6e root \u5bc6\u7801\u3002<\/p>\n<p>\u91cd\u542f\u670d\u52a1\u5668&#xff0c;\u5728 GRUB \u83dc\u5355\u754c\u9762\u6309 e \u7f16\u8f91\u542f\u52a8\u9879\u3002\u627e\u5230\u7c7b\u4f3c\u4e0b\u9762\u8fd9\u4e00\u884c&#xff1a;<\/p>\n<p>linuxefi \/vmlinuz-3.10.0-1160.el7.x86_64 root&#061;\/dev\/mapper\/centos-root ro &#8230;<\/p>\n<p>\u628a\u91cc\u9762\u7684&#xff1a;<\/p>\n<p>ro<\/p>\n<p>\u6539\u6210&#xff1a;<\/p>\n<p>rw init&#061;\/sysroot\/bin\/sh<\/p>\n<p>\u7136\u540e\u6309&#xff1a;<\/p>\n<p>Ctrl &#043; X<\/p>\n<p>\u542f\u52a8\u8fdb\u5165\u6551\u63f4\u73af\u5883\u3002<\/p>\n<p>\u8fdb\u5165 emergency shell \u540e\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">chroot<\/span> \/sysroot<\/p>\n<p>\u7136\u540e\u91cd\u7f6e root \u5bc6\u7801&#xff1a;<\/p>\n<p><span class=\"token function\">passwd<\/span> root<\/p>\n<p>\u8f93\u5165\u4e24\u904d\u65b0\u5bc6\u7801\u3002\u6210\u529f\u540e\u4e00\u822c\u4f1a\u63d0\u793a&#xff1a;<\/p>\n<p>passwd: all authentication tokens updated successfully.<\/p>\n<p>CentOS 7 \u5982\u679c\u542f\u7528\u4e86 SELinux&#xff0c;\u91cd\u7f6e\u5bc6\u7801\u540e\u5efa\u8bae\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">touch<\/span> \/.autorelabel<\/p>\n<p>\u7136\u540e\u9000\u51fa\u5e76\u91cd\u542f&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">exit<\/span><br \/>\n<span class=\"token function\">reboot<\/span><\/p>\n<p>\u5982\u679c reboot \u4e0d\u751f\u6548&#xff0c;\u53ef\u4ee5\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">exec<\/span> \/sbin\/init<\/p>\n<p>\u91cd\u542f\u540e\u5c31\u53ef\u4ee5\u7528\u65b0 root \u5bc6\u7801\u767b\u5f55\u7cfb\u7edf\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u7b2c\u4e8c\u9636\u6bb5&#xff1a;\u67e5\u770b\u7f51\u5361\u4fe1\u606f<\/h3>\n<p>\u767b\u5f55\u7cfb\u7edf\u540e&#xff0c;\u7b2c\u4e00\u6b65\u662f\u67e5\u770b\u7f51\u5361&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> addr<\/p>\n<p>\u6216\u8005&#xff1a;<\/p>\n<p>nmcli device<\/p>\n<p>\u5f53\u65f6\u673a\u5668\u91cc\u4e3b\u8981\u770b\u5230\u8fd9\u4e9b\u7f51\u5361&#xff1a;<\/p>\n<p>lo          loopback<br \/>\np8p1        ethernet<br \/>\nwlp3s0      wifi<br \/>\nenp0s20u2   \u624b\u673a USB \u5171\u4eab\u7f51\u5361<\/p>\n<p>\u5176\u4e2d&#xff1a;<\/p>\n<ul>\n<li>lo \u662f\u672c\u5730\u56de\u73af&#xff0c;\u4e0d\u7528\u7ba1&#xff1b;<\/li>\n<li>p8p1 \u662f\u6709\u7ebf\u7f51\u5361&#xff1b;<\/li>\n<li>wlp3s0 \u662f\u65e0\u7ebf\u7f51\u5361&#xff1b;<\/li>\n<li>enp0s20u2 \u662f\u624b\u673a USB \u5171\u4eab\u7f51\u7edc\u65f6\u51fa\u73b0\u7684\u4e34\u65f6\u7f51\u5361\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u3001\u7b2c\u4e09\u9636\u6bb5&#xff1a;\u914d\u7f6e\u6709\u7ebf\u516c\u7f51 IP<\/h3>\n<p>\u5f53\u65f6\u62ff\u5230\u7684\u4fe1\u606f\u662f&#xff1a;<\/p>\n<p>\u7f51\u5173&#xff1a;203.0.113.9<br \/>\n\u63a9\u7801&#xff1a;10.0.99.1<br \/>\nDNS1&#xff1a;\u516c\u5171DNS-A<br \/>\nDNS2&#xff1a;10.0.99.2<\/p>\n<p>\u63a9\u7801 10.0.99.1 \u5bf9\u5e94 CIDR \/29\u3002\u8fd9\u4e2a\u7f51\u6bb5\u5927\u81f4\u662f&#xff1a;<\/p>\n<p>\u7f51\u7edc\u5730\u5740&#xff1a;203.0.113.8<br \/>\n\u53ef\u7528\u5730\u5740&#xff1a;203.0.113.9 &#8211; 10.0.99.3<br \/>\n\u5e7f\u64ad\u5730\u5740&#xff1a;203.0.113.15<\/p>\n<p>\u5176\u4e2d .233 \u901a\u5e38\u4f5c\u4e3a\u7f51\u5173&#xff0c;\u6240\u4ee5\u670d\u52a1\u5668\u672c\u673a IP \u53ef\u4ee5\u5c1d\u8bd5&#xff1a;<\/p>\n<p>203.0.113.10<\/p>\n<p>\u4f46\u8981\u6ce8\u610f&#xff1a;\u8fd9\u53ea\u662f\u6839\u636e\u7f51\u5173\u63a8\u6d4b\u51fa\u6765\u7684\u5730\u5740&#xff0c;\u771f\u5b9e\u73af\u5883\u4e2d\u5fc5\u987b\u4ee5\u7ba1\u7406\u5458\u5206\u914d\u4e3a\u51c6\u3002<\/p>\n<p>CentOS 7 \u7684\u7f51\u5361\u914d\u7f6e\u6587\u4ef6\u4e00\u822c\u5728&#xff1a;<\/p>\n<p>\/etc\/sysconfig\/network-scripts\/<\/p>\n<p>\u6709\u7ebf\u7f51\u5361 p8p1 \u5bf9\u5e94\u914d\u7f6e\u6587\u4ef6&#xff1a;<\/p>\n<p>\/etc\/sysconfig\/network-scripts\/ifcfg-p8p1<\/p>\n<p>\u7f16\u8f91&#xff1a;<\/p>\n<p><span class=\"token function\">vi<\/span> \/etc\/sysconfig\/network-scripts\/ifcfg-p8p1<\/p>\n<p>\u5199\u5165\u6216\u4fee\u6539\u6210&#xff1a;<\/p>\n<p>TYPE&#061;Ethernet<br \/>\nBOOTPROTO&#061;static<br \/>\nNAME&#061;p8p1<br \/>\nDEVICE&#061;p8p1<br \/>\nONBOOT&#061;yes<br \/>\nNM_CONTROLLED&#061;yes<br \/>\nDEFROUTE&#061;yes<\/p>\n<p>IPADDR&#061;203.0.113.10<br \/>\nPREFIX&#061;29<br \/>\nGATEWAY&#061;203.0.113.9<br \/>\nDNS1&#061;\u516c\u5171DNS-A<br \/>\nDNS2&#061;10.0.99.2<\/p>\n<p>\u5982\u679c\u539f\u6765\u6709 HWADDR&#061;&#xff0c;\u4e00\u822c\u53ef\u4ee5\u4fdd\u7559&#xff0c;\u53ea\u8981\u5b83\u548c\u5f53\u524d\u7f51\u5361 MAC \u5730\u5740\u4e00\u81f4\u3002\u67e5\u770b\u5f53\u524d\u7f51\u5361 MAC&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> addr show p8p1<\/p>\n<p>\u5982\u679c HWADDR \u4e0d\u4e00\u81f4&#xff0c;\u8981\u4e48\u6539\u6210\u4e00\u81f4&#xff0c;\u8981\u4e48\u5220\u6389 HWADDR \u8fd9\u4e00\u884c\u3002<\/p>\n<p>\u91cd\u542f\u7f51\u7edc&#xff1a;<\/p>\n<p>systemctl restart network<\/p>\n<p>\u67e5\u770b IP \u548c\u8def\u7531&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> addr show p8p1<br \/>\n<span class=\"token function\">ip<\/span> route<\/p>\n<p>\u6b63\u5e38\u5e94\u8be5\u770b\u5230&#xff1a;<\/p>\n<p>inet 203.0.113.10\/29<\/p>\n<p>\u9ed8\u8ba4\u8def\u7531\u7c7b\u4f3c&#xff1a;<\/p>\n<p>default via 203.0.113.9 dev p8p1<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u7b2c\u56db\u9636\u6bb5&#xff1a;\u6709\u7ebf\u516c\u7f51\u4e3a\u4ec0\u4e48\u8fd8\u662f\u4e0d\u901a&#xff1f;<\/h3>\n<h4>5.1 \u5173\u952e\u62a5\u9519&#xff1a;NO-CARRIER<\/h4>\n<p>\u5f53\u65f6 ip addr show p8p1 \u91cc\u51fa\u73b0\u8fc7&#xff1a;<\/p>\n<p>p8p1: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; state DOWN<\/p>\n<p>\u8fd9\u91cc\u7684 NO-CARRIER \u975e\u5e38\u5173\u952e\u3002\u5b83\u8868\u793a&#xff1a;<\/p>\n<p>\u7f51\u5361\u6ca1\u6709\u68c0\u6d4b\u5230\u7269\u7406\u94fe\u8def\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u53ef\u80fd\u662f\u7f51\u7ebf\u6ca1\u63d2\u597d\u3001\u7f51\u7ebf\u574f\u4e86\u3001\u5899\u53e3\u6216\u4ea4\u6362\u673a\u7aef\u53e3\u6ca1\u5f00\u3001\u4ea4\u6362\u673a\u7aef\u53e3\u6ca1\u6709\u4fe1\u53f7\u3001\u63d2\u9519\u53e3\u3001\u5bf9\u7aef\u8bbe\u5907\u6ca1\u5f00\u3001\u7aef\u53e3 VLAN \u4e0d\u5bf9\u3002<\/p>\n<p>\u8fd9\u65f6\u5019\u5373\u4f7f IP \u914d\u5f97\u518d\u6b63\u786e&#xff0c;\u4e5f\u65e0\u6cd5\u901a\u4fe1\u3002<\/p>\n<h4>5.2 \u5173\u952e\u62a5\u9519&#xff1a;Destination Host Unreachable<\/h4>\n<p>\u5c1d\u8bd5 ping \u7f51\u5173&#xff1a;<\/p>\n<p><span class=\"token function\">ping<\/span> <span class=\"token number\">203.0<\/span>.113.9<\/p>\n<p>\u8fd4\u56de&#xff1a;<\/p>\n<p>From 203.0.113.10 Destination Host Unreachable<\/p>\n<p>\u8fd9\u4e2a\u610f\u601d\u662f&#xff1a;\u672c\u673a\u77e5\u9053\u8981\u627e 203.0.113.9&#xff0c;\u4f46\u6839\u672c\u627e\u4e0d\u5230\u5230\u8fbe\u5b83\u7684\u8def\u5f84\u6216\u4e8c\u5c42\u90bb\u5c45\u3002<\/p>\n<h4>5.3 \u5173\u952e\u62a5\u9519&#xff1a;ARP INCOMPLETE<\/h4>\n<p>\u67e5\u770b\u90bb\u5c45\u8868&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> neigh<\/p>\n<p>\u770b\u5230&#xff1a;<\/p>\n<p>203.0.113.9 dev p8p1 INCOMPLETE<\/p>\n<p>\u8fd9\u8bf4\u660e\u7cfb\u7edf\u6b63\u5728\u95ee&#xff1a;<\/p>\n<p>\u8c01\u662f 203.0.113.9&#xff1f;\u8bf7\u544a\u8bc9\u6211\u4f60\u7684 MAC \u5730\u5740\u3002<\/p>\n<p>\u4f46\u7f51\u5173\u6ca1\u6709\u56de\u5e94 ARP\u3002\u8fd9\u901a\u5e38\u610f\u5473\u7740\u7f51\u7ebf\u6216\u7aef\u53e3\u4e0d\u901a&#xff0c;\u8fd9\u4e2a\u4ea4\u6362\u673a\u7aef\u53e3\u4e0d\u5728\u5bf9\u5e94\u516c\u7f51 VLAN&#xff0c;\u7f51\u5173\u5e76\u4e0d\u5728\u5f53\u524d\u4e8c\u5c42\u7f51\u7edc&#xff0c;IP \u6216\u63a9\u7801\u4e0d\u5bf9&#xff0c;MAC \u88ab\u7ed1\u5b9a&#xff0c;\u6216\u8005\u8fd0\u8425\u5546\u7ebf\u8def\u6ca1\u6709\u5f00\u901a\u3002<\/p>\n<h4>5.4 Windows \u80fd ping \u7f51\u5173&#xff0c;\u4e0d\u4ee3\u8868\u670d\u52a1\u5668\u516c\u7f51 IP \u901a<\/h4>\n<p>Windows \u4e0a\u80fd ping \u901a&#xff1a;<\/p>\n<p>ping 203.0.113.9<\/p>\n<p>\u53ea\u80fd\u8bf4\u660e Windows \u80fd\u8bbf\u95ee\u8fd9\u4e2a\u516c\u7f51\u7f51\u5173\u3002\u4f46\u670d\u52a1\u5668\u771f\u6b63\u7684\u516c\u7f51 IP \u662f&#xff1a;<\/p>\n<p>203.0.113.10<\/p>\n<p>\u5982\u679c&#xff1a;<\/p>\n<p>ping 203.0.113.10<\/p>\n<p>\u4e0d\u901a&#xff0c;\u8bf4\u660e\u670d\u52a1\u5668\u8fd9\u4e2a\u516c\u7f51 IP \u8fd8\u6ca1\u6709\u771f\u6b63\u5bf9\u5916\u53ef\u8fbe\u3002\u4e0d\u80fd\u628a .233 \u7f51\u5173\u5f53\u6210\u670d\u52a1\u5668 IP\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u7b2c\u4e94\u9636\u6bb5&#xff1a;\u6539\u7528\u65e0\u7ebf\u7f51\u5361<\/h3>\n<p>\u65e0\u7ebf\u7f51\u5361\u4e3a&#xff1a;<\/p>\n<p>wlp3s0<\/p>\n<p>\u67e5\u770b&#xff1a;<\/p>\n<p>nmcli device<\/p>\n<p>\u6700\u5f00\u59cb\u53ef\u80fd\u663e\u793a&#xff1a;<\/p>\n<p>wlp3s0  wifi  unavailable<\/p>\n<p>\u6216\u8005\u65e5\u5fd7\u91cc\u51fa\u73b0&#xff1a;<\/p>\n<p>WiFi plugin not available<\/p>\n<p>\u8fd9\u8bf4\u660e\u53ef\u80fd\u7f3a\u5c11&#xff1a;<\/p>\n<p>NetworkManager-wifi<br \/>\nwpa_supplicant<\/p>\n<p>\u7531\u4e8e\u6709\u7ebf\u6ca1\u901a&#xff0c;\u5b89\u88c5 WiFi \u63d2\u4ef6\u9700\u8981\u4e34\u65f6\u8054\u7f51&#xff0c;\u4e8e\u662f\u4f7f\u7528\u624b\u673a USB \u5171\u4eab\u7f51\u7edc\u3002\u63d2\u5165\u624b\u673a&#xff0c;\u6253\u5f00 USB \u7f51\u7edc\u5171\u4eab\u3002CentOS \u4e0a\u67e5\u770b&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> addr<br \/>\nnmcli device<\/p>\n<p>\u51fa\u73b0\u65b0\u7f51\u5361&#xff1a;<\/p>\n<p>enp0s20u2<\/p>\n<p>\u81ea\u52a8\u83b7\u53d6 IP&#xff1a;<\/p>\n<p>dhclient enp0s20u2<\/p>\n<p>\u6d4b\u8bd5&#xff1a;<\/p>\n<p><span class=\"token function\">ping<\/span> baidu.com<\/p>\n<p>\u5982\u679c\u901a&#xff0c;\u8bf4\u660e\u4e34\u65f6\u8054\u7f51\u6210\u529f\u3002<\/p>\n<h4>6.1 \u89e3\u51b3 CentOS 7 yum \u6e90\u5931\u6548<\/h4>\n<p>CentOS 7 \u9ed8\u8ba4\u6e90\u7ecf\u5e38\u8bbf\u95ee mirrorlist.centos.org&#xff0c;\u4f46\u73b0\u5728 CentOS 7 \u5df2\u505c\u6b62\u7ef4\u62a4&#xff0c;\u9ed8\u8ba4\u6e90\u53ef\u80fd\u5931\u6548&#xff0c;\u9700\u8981\u6362\u6210 Vault \u6e90\u6216\u56fd\u5185\u955c\u50cf\u3002<\/p>\n<p>\u4f8b\u5982\u4f7f\u7528\u963f\u91cc\u4e91 CentOS Vault \u6e90&#xff1a;<\/p>\n<p><span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;<\/span> \/etc\/yum.repos.d\/CentOS-Base.repo <span class=\"token operator\">&lt;&lt;<\/span><span class=\"token string\">&#039;REPO&#039;<br \/>\n[base]<br \/>\nname&#061;CentOS-7.9.2009 &#8211; Base<br \/>\nbaseurl&#061;http:\/\/mirrors.aliyun.com\/centos-vault\/7.9.2009\/os\/x86_64\/<br \/>\nenabled&#061;1<br \/>\ngpgcheck&#061;0<\/p>\n<p>[updates]<br \/>\nname&#061;CentOS-7.9.2009 &#8211; Updates<br \/>\nbaseurl&#061;http:\/\/mirrors.aliyun.com\/centos-vault\/7.9.2009\/updates\/x86_64\/<br \/>\nenabled&#061;1<br \/>\ngpgcheck&#061;0<\/p>\n<p>[extras]<br \/>\nname&#061;CentOS-7.9.2009 &#8211; Extras<br \/>\nbaseurl&#061;http:\/\/mirrors.aliyun.com\/centos-vault\/7.9.2009\/extras\/x86_64\/<br \/>\nenabled&#061;1<br \/>\ngpgcheck&#061;0<br \/>\nREPO<\/span><\/p>\n<p>\u6e05\u7f13\u5b58&#xff1a;<\/p>\n<p>yum clean all<br \/>\nyum makecache<\/p>\n<p>\u5b89\u88c5 WiFi \u7ec4\u4ef6&#xff1a;<\/p>\n<p>yum <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> NetworkManager-wifi wpa_supplicant<\/p>\n<p>\u91cd\u542f NetworkManager&#xff1a;<\/p>\n<p>systemctl restart NetworkManager<\/p>\n<h4>6.2 \u8fde\u63a5 WiFi<\/h4>\n<p>\u6253\u5f00 WiFi&#xff1a;<\/p>\n<p>nmcli radio wifi on<br \/>\nnmcli device <span class=\"token builtin class-name\">set<\/span> wlp3s0 managed <span class=\"token function\">yes<\/span><\/p>\n<p>\u626b\u63cf&#xff1a;<\/p>\n<p>nmcli device wifi list<\/p>\n<p>\u8fde\u63a5 WiFi&#xff0c;\u4f8b\u5982\u8fde\u63a5 Campus-WiFi&#xff1a;<\/p>\n<p>nmcli device wifi connect <span class=\"token string\">&#034;Campus-WiFi&#034;<\/span> password <span class=\"token string\">&#034;WiFi\u5bc6\u7801&#034;<\/span><\/p>\n<p>\u540e\u9762\u53c8\u8fde\u63a5\u4e86\u624b\u673a\u70ed\u70b9 demo_user&#xff1a;<\/p>\n<p>nmcli device wifi connect <span class=\"token string\">&#034;demo_user&#034;<\/span> password <span class=\"token string\">&#034;WiFi\u5bc6\u7801&#034;<\/span><\/p>\n<p>\u67e5\u770b IP&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> addr show wlp3s0<\/p>\n<p>\u8fde\u4e0a\u624b\u673a\u70ed\u70b9\u540e&#xff0c;\u670d\u52a1\u5668 IP \u53d8\u6210&#xff1a;<\/p>\n<p>10.0.0.9<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u7b2c\u516d\u9636\u6bb5&#xff1a;\u5f00\u542f SSH \u670d\u52a1<\/h3>\n<p>CentOS \u4e0a\u6267\u884c&#xff1a;<\/p>\n<p>systemctl start sshd<br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> sshd<br \/>\nsystemctl status sshd<\/p>\n<p>\u6b63\u5e38\u72b6\u6001&#xff1a;<\/p>\n<p>Active: active (running)<\/p>\n<p>\u67e5\u770b\u7aef\u53e3\u76d1\u542c&#xff1a;<\/p>\n<p>ss <span class=\"token parameter variable\">-lntp<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> :22<\/p>\n<p>\u6b63\u5e38\u5e94\u8be5\u770b\u5230&#xff1a;<\/p>\n<p>LISTEN 0 128 10.0.99.4:22<br \/>\nLISTEN 0 128 [::]:22<\/p>\n<p>\u8fd9\u8bf4\u660e SSH \u670d\u52a1\u672c\u8eab\u5df2\u7ecf\u6b63\u5e38\u3002<\/p>\n<p>\u9632\u706b\u5899\u653e\u884c SSH&#xff1a;<\/p>\n<p>firewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;add-service<span class=\"token operator\">&#061;<\/span>ssh<br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;reload<\/span><\/p>\n<p>\u6392\u9519\u9636\u6bb5\u4e5f\u53ef\u4ee5\u4e34\u65f6\u5173\u95ed\u9632\u706b\u5899&#xff1a;<\/p>\n<p>systemctl stop firewalld<br \/>\niptables <span class=\"token parameter variable\">-F<\/span><\/p>\n<p>\u4e0d\u5efa\u8bae\u957f\u671f\u4f7f\u7528 root \u8fdc\u7a0b\u767b\u5f55&#xff0c;\u53ef\u4ee5\u521b\u5efa\u666e\u901a\u7528\u6237\u3002\u4f8b\u5982\u521b\u5efa demo_user&#xff1a;<\/p>\n<p><span class=\"token function\">useradd<\/span> demo_user<br \/>\n<span class=\"token function\">passwd<\/span> demo_user<br \/>\n<span class=\"token function\">usermod<\/span> <span class=\"token parameter variable\">-aG<\/span> wheel demo_user<\/p>\n<p>\u6216\u8005\u521b\u5efa demo_user&#xff1a;<\/p>\n<p><span class=\"token function\">useradd<\/span> demo_user<br \/>\n<span class=\"token function\">passwd<\/span> demo_user<br \/>\n<span class=\"token function\">usermod<\/span> <span class=\"token parameter variable\">-aG<\/span> wheel demo_user<\/p>\n<p>\u67e5\u770b&#xff1a;<\/p>\n<p><span class=\"token function\">id<\/span> demo_user<br \/>\n<span class=\"token function\">id<\/span> demo_user<\/p>\n<p>\u7f16\u8f91 SSH \u914d\u7f6e&#xff1a;<\/p>\n<p><span class=\"token function\">vi<\/span> \/etc\/ssh\/sshd_config<\/p>\n<p>\u5efa\u8bae\u666e\u901a\u7528\u6237\u767b\u5f55\u914d\u7f6e&#xff1a;<\/p>\n<p>PasswordAuthentication yes<br \/>\nUsePAM yes<br \/>\nPubkeyAuthentication yes<br \/>\nPermitRootLogin no<\/p>\n<p>\u5982\u679c\u4e34\u65f6\u5141\u8bb8 root \u767b\u5f55&#xff1a;<\/p>\n<p>PermitRootLogin yes<br \/>\nPasswordAuthentication yes<br \/>\nUsePAM yes<\/p>\n<p>\u4fee\u6539\u540e\u91cd\u542f&#xff1a;<\/p>\n<p>systemctl restart sshd<\/p>\n<hr \/>\n<h3>\u516b\u3001\u7b2c\u4e03\u9636\u6bb5&#xff1a;\u4e3a\u4ec0\u4e48 WiFi \u80fd\u4e0a\u7f51&#xff0c;\u4f46 Windows SSH \u4e0d\u8fdb\u53bb&#xff1f;<\/h3>\n<p>\u670d\u52a1\u5668\u8fde\u5b66\u6821 WiFi \u540e&#xff1a;<\/p>\n<p><span class=\"token function\">ping<\/span> baidu.com<\/p>\n<p>\u80fd\u901a\u3002\u8fd9\u8bf4\u660e\u670d\u52a1\u5668\u53ef\u4ee5\u4e3b\u52a8\u8bbf\u95ee\u5916\u7f51\u3002<\/p>\n<p>\u4f46 Windows \u4e0a\u6267\u884c&#xff1a;<\/p>\n<p>ping 192<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>2<span class=\"token punctuation\">.<\/span>45<br \/>\n<span class=\"token function\">Test-NetConnection<\/span> 192<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>2<span class=\"token punctuation\">.<\/span>45 <span class=\"token operator\">&#8211;<\/span>Port 22<\/p>\n<p>\u7ed3\u679c&#xff1a;<\/p>\n<p>PingSucceeded : False<br \/>\nTcpTestSucceeded : False<\/p>\n<p>\u8fd9\u8bf4\u660e Windows \u8bbf\u95ee\u4e0d\u5230\u670d\u52a1\u5668\u3002<\/p>\n<p>\u5373\u4f7f\u670d\u52a1\u5668\u548c Windows \u90fd\u8fde\u63a5\u4e86\u5b66\u6821 WiFi&#xff0c;\u4e5f\u4e0d\u4e00\u5b9a\u80fd\u4e92\u8bbf\u3002\u5b66\u6821\u3001\u516c\u53f8\u3001\u9152\u5e97 WiFi \u7ecf\u5e38\u5f00\u542f AP \u9694\u79bb\u3001\u5ba2\u6237\u7aef\u9694\u79bb\u3001\u65e0\u7ebf\u7528\u6237\u9694\u79bb\u3001ACL \u7b56\u7565\u3001\u4e0d\u540c VLAN \u9694\u79bb\u3002\u8868\u73b0\u4e3a\u6bcf\u53f0\u8bbe\u5907\u90fd\u80fd\u4e0a\u7f51&#xff0c;\u4f46\u8bbe\u5907\u4e4b\u95f4\u4e0d\u80fd ping&#xff0c;\u4e5f\u4e0d\u80fd SSH\u3002<\/p>\n<p>\u6240\u4ee5&#xff1a;<\/p>\n<p>\u670d\u52a1\u5668\u80fd ping baidu.com \u2260 Windows \u80fd SSH \u670d\u52a1\u5668<\/p>\n<p>\u670d\u52a1\u5668\u548c Windows \u90fd\u8fde\u63a5\u540c\u4e00\u4e2a\u624b\u673a\u70ed\u70b9 demo_user \u540e&#xff0c;\u670d\u52a1\u5668 IP \u53d8\u6210&#xff1a;<\/p>\n<p>10.0.0.9<\/p>\n<p>\u6b64\u65f6 Windows \u4e5f\u5728\u540c\u4e00\u4e2a\u624b\u673a\u70ed\u70b9\u5c40\u57df\u7f51\u91cc&#xff0c;\u5c31\u53ef\u4ee5\u5c1d\u8bd5&#xff1a;<\/p>\n<p>ping 10<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>9<br \/>\n<span class=\"token function\">Test-NetConnection<\/span> 10<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>9 <span class=\"token operator\">&#8211;<\/span>Port 22<br \/>\nssh demo_user&#064;10<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>9<\/p>\n<p>\u624b\u673a\u70ed\u70b9\u901a\u5e38\u4e0d\u4f1a\u505a\u590d\u6742\u7684\u5ba2\u6237\u7aef\u9694\u79bb&#xff0c;\u6240\u4ee5\u66f4\u5bb9\u6613\u6210\u529f\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u7b2c\u516b\u9636\u6bb5&#xff1a;\u4e3a\u4ec0\u4e48\u5916\u5730\u7684\u4eba\u4e0d\u80fd\u76f4\u63a5 SSH&#xff1f;<\/h3>\n<p>\u5916\u5730\u7684\u4eba\u8981 SSH \u8fdb\u6765&#xff0c;\u5fc5\u987b\u8bbf\u95ee\u5230\u4e00\u4e2a\u201c\u516c\u7f51\u53ef\u8fbe\u5165\u53e3\u201d\u3002<\/p>\n<table>\n<tr>IP\u7c7b\u578b\u5916\u5730\u80fd\u5426\u76f4\u63a5\u8bbf\u95ee<\/tr>\n<tbody>\n<tr>\n<td>10.0.0.9<\/td>\n<td>\u624b\u673a\u70ed\u70b9\u5185\u7f51 IP<\/td>\n<td>\u4e0d\u80fd<\/td>\n<\/tr>\n<tr>\n<td>192.0.2.45<\/td>\n<td>\u5b66\u6821 WiFi \u5185\u7f51 IP<\/td>\n<td>\u901a\u5e38\u4e0d\u80fd<\/td>\n<\/tr>\n<tr>\n<td>203.0.113.10<\/td>\n<td>\u6709\u7ebf\u516c\u7f51 IP<\/td>\n<td>\u7406\u8bba\u53ef\u4ee5&#xff0c;\u4f46\u5f53\u524d\u94fe\u8def\u6ca1\u901a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u6240\u4ee5\u5916\u5730\u7684\u4eba\u4e0d\u80fd\u76f4\u63a5\u8fde&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;10.0.0.9<\/p>\n<p>\u4e5f\u4e0d\u80fd\u76f4\u63a5\u8fde&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;192.0.2.45<\/p>\n<p>\u5982\u679c\u60f3\u4ece\u5916\u5730\u8bbf\u95ee&#xff0c;\u5fc5\u987b\u4f7f\u7528\u516c\u7f51 IP\u3001ZeroTier\u3001Tailscale\u3001frp\u3001cpolar\u3001ngrok \u7b49\u65b9\u6848\u4e4b\u4e00\u3002<\/p>\n<hr \/>\n<h3>\u5341\u3001\u8ba9\u5916\u5730\u7684\u4eba\u80fd SSH \u7684\u4e09\u79cd\u65b9\u6848<\/h3>\n<h4>10.1 \u65b9\u6848 A&#xff1a;\u4fee\u597d\u516c\u7f51 IP<\/h4>\n<p>\u5982\u679c\u8981\u50cf \u4e91\u670d\u52a1\u5668\u5e73\u53f0 \u4e00\u6837&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;203.0.113.10<\/p>\n<p>\u670d\u52a1\u5668\u4e0a\u5fc5\u987b\u6ee1\u8db3&#xff1a;<\/p>\n<p><span class=\"token function\">ip<\/span> addr show p8p1<br \/>\n<span class=\"token function\">ping<\/span> <span class=\"token number\">203.0<\/span>.113.9<br \/>\nss <span class=\"token parameter variable\">-lntp<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> :22<\/p>\n<p>\u5176\u4e2d ping 203.0.113.9 \u5fc5\u987b\u901a&#xff0c;\u5e76\u4e14\u7f51\u5361\u4e0d\u80fd\u662f NO-CARRIER&#xff0c;\u5fc5\u987b\u662f LOWER_UP\u3002\u5982\u679c\u670d\u52a1\u5668\u81ea\u5df1\u90fd ping \u4e0d\u901a\u516c\u7f51\u7f51\u5173&#xff0c;\u90a3\u4e48\u5916\u5730\u7684\u4eba\u80af\u5b9a\u8fde\u4e0d\u4e0a 203.0.113.10\u3002<\/p>\n<h4>10.2 \u65b9\u6848 B&#xff1a;\u4f7f\u7528 ZeroTier<\/h4>\n<p>ZeroTier \u9002\u5408\u670d\u52a1\u5668\u80fd\u4e0a\u7f51\u4f46\u6ca1\u6709\u516c\u7f51 IP\u3001\u5916\u90e8\u8bbf\u95ee\u4e0d\u5230\u670d\u52a1\u5668\u7684\u73af\u5883\u3002<\/p>\n<p>\u57fa\u672c\u6d41\u7a0b&#xff1a;<\/p>\n<li>\u6ce8\u518c ZeroTier&#xff1b;<\/li>\n<li>\u521b\u5efa Network&#xff1b;<\/li>\n<li>\u670d\u52a1\u5668\u5b89\u88c5 ZeroTier&#xff1b;<\/li>\n<li>Windows \u5b89\u88c5 ZeroTier&#xff1b;<\/li>\n<li>\u4e24\u53f0\u673a\u5668\u52a0\u5165\u540c\u4e00\u4e2a Network ID&#xff1b;<\/li>\n<li>\u63a7\u5236\u53f0\u6388\u6743\u8bbe\u5907&#xff1b;<\/li>\n<li>\u4f7f\u7528 ZeroTier \u5206\u914d\u7684 IP SSH\u3002<\/li>\n<p>CentOS \u5b89\u88c5&#xff1a;<\/p>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-s<\/span> https:\/\/install.zerotier.com <span class=\"token operator\">|<\/span> <span class=\"token function\">bash<\/span><br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> <span class=\"token parameter variable\">&#8211;now<\/span> zerotier-one<br \/>\nzerotier-cli <span class=\"token function\">join<\/span> \u4f60\u7684NetworkID<\/p>\n<p>\u67e5\u770b&#xff1a;<\/p>\n<p>zerotier-cli status<br \/>\nzerotier-cli listnetworks<br \/>\n<span class=\"token function\">ip<\/span> addr<\/p>\n<p>\u5047\u8bbe\u670d\u52a1\u5668 ZeroTier IP \u662f&#xff1a;<\/p>\n<p>10.0.99.5<\/p>\n<p>\u5916\u5730\u7535\u8111\u4e5f\u52a0\u5165\u540c\u4e00 ZeroTier \u7f51\u7edc\u540e&#xff0c;\u53ef\u4ee5&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;10.0.99.5<\/p>\n<p>SSH \u5ba2\u6237\u7aef \u586b&#xff1a;<\/p>\n<p>Address&#xff1a;10.0.99.5<br \/>\nPort&#xff1a;22<br \/>\nUsername&#xff1a;demo_user<br \/>\nPassword&#xff1a;&lt;\u767b\u5f55\u5bc6\u7801&gt;<\/p>\n<h4>10.3 \u65b9\u6848 C&#xff1a;\u4f7f\u7528 Tailscale<\/h4>\n<p>Tailscale \u548c ZeroTier \u7c7b\u4f3c&#xff0c;\u4e5f\u5f88\u9002\u5408\u65e0\u516c\u7f51\u73af\u5883\u3002<\/p>\n<p>\u670d\u52a1\u5668\u5b89\u88c5&#xff1a;<\/p>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-fsSL<\/span> https:\/\/tailscale.com\/install.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> <span class=\"token parameter variable\">&#8211;now<\/span> tailscaled<br \/>\ntailscale up<\/p>\n<p>\u67e5\u770b IP&#xff1a;<\/p>\n<p>tailscale <span class=\"token function\">ip<\/span> <span class=\"token parameter variable\">-4<\/span><\/p>\n<p>\u5047\u8bbe\u5f97\u5230&#xff1a;<\/p>\n<p>10.0.99.6<\/p>\n<p>\u5916\u5730\u7535\u8111\u4e5f\u52a0\u5165\u540c\u4e00 Tailscale \u7f51\u7edc\u540e&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;10.0.99.6<\/p>\n<h4>10.4 \u65b9\u6848 D&#xff1a;frp \/ cpolar \/ ngrok \/ Stowaway<\/h4>\n<p>\u8fd9\u7c7b\u5c5e\u4e8e\u5185\u7f51\u7a7f\u900f\u6216\u4ee3\u7406\u96a7\u9053\u65b9\u6848\u3002\u5982\u679c\u6709\u516c\u7f51 VPS&#xff0c;\u53ef\u4ee5\u7528 frp&#xff1a;<\/p>\n<p>\u5916\u5730\u7535\u8111 \u2192 \u516c\u7f51 VPS \u2192 \u5185\u7f51\u670d\u52a1\u5668 SSH<\/p>\n<p>\u6700\u7ec8\u5f62\u5f0f\u53ef\u80fd\u662f&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;\u516c\u7f51VPS_IP <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">60022<\/span><\/p>\n<p>Stowaway \u66f4\u504f\u7ea2\u961f\/\u5185\u7f51\u4ee3\u7406\u5de5\u5177&#xff0c;\u4e0d\u592a\u9002\u5408\u65e5\u5e38\u7a33\u5b9a\u8fd0\u7ef4\u3002Proxifier \u53ea\u80fd\u8ba9\u5ba2\u6237\u7aef\u6d41\u91cf\u8d70\u4ee3\u7406&#xff0c;\u4e0d\u80fd\u5355\u72ec\u628a\u670d\u52a1\u5668\u66b4\u9732\u51fa\u6765\u3002<\/p>\n<hr \/>\n<h3>\u5341\u4e00\u3001\u5173\u952e\u6982\u5ff5\u603b\u7ed3<\/h3>\n<h4>11.1 \u80fd\u4e0a\u7f51\u548c\u80fd\u88ab\u8fde\u63a5\u662f\u4e24\u56de\u4e8b<\/h4>\n<p>\u670d\u52a1\u5668\u80fd ping baidu.com<br \/>\n&#061; \u670d\u52a1\u5668\u80fd\u8bbf\u95ee\u5916\u7f51<\/p>\n<p>Windows \u80fd ssh \u670d\u52a1\u5668<br \/>\n&#061; Windows \u80fd\u8bbf\u95ee\u670d\u52a1\u5668\u5165\u7ad9\u7aef\u53e3<\/p>\n<p>\u4e24\u8005\u4e0d\u662f\u4e00\u56de\u4e8b\u3002<\/p>\n<h4>11.2 ping \u901a\u4e0d\u4ee3\u8868 SSH \u80fd\u901a<\/h4>\n<p>ping \u4f7f\u7528 ICMP&#xff0c;SSH \u4f7f\u7528 TCP 22 \u7aef\u53e3\u3002\u6240\u4ee5\u53ef\u80fd\u51fa\u73b0&#xff1a;<\/p>\n<p>PingSucceeded : True<br \/>\nTcpTestSucceeded : False<\/p>\n<p>\u8fd9\u8bf4\u660e IP \u80fd\u5230&#xff0c;\u4f46 22 \u7aef\u53e3\u4e0d\u901a\u3002<\/p>\n<p>\u6392\u67e5\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">Test-NetConnection<\/span> \u670d\u52a1\u5668IP <span class=\"token operator\">&#8211;<\/span>Port 22<\/p>\n<p>\u670d\u52a1\u5668\u4e0a&#xff1a;<\/p>\n<p>ss <span class=\"token parameter variable\">-lntp<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> :22<br \/>\nsystemctl status sshd<\/p>\n<h4>11.3 ping \u7f51\u5173\u4e0d\u4ee3\u8868 ping \u670d\u52a1\u5668<\/h4>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>203.0.113.9 \u662f\u7f51\u5173<br \/>\n203.0.113.10 \u662f\u670d\u52a1\u5668 IP<\/p>\n<p>Windows \u80fd ping \u901a .233&#xff0c;\u4e0d\u4ee3\u8868 .234 \u5c31\u4e00\u5b9a\u901a\u3002<\/p>\n<h4>11.4 \u5185\u7f51 IP \u4e0d\u80fd\u76f4\u63a5\u88ab\u5916\u7f51\u8bbf\u95ee<\/h4>\n<p>\u8fd9\u4e9b\u5730\u5740\u901a\u5e38\u662f\u5185\u7f51\u5730\u5740&#xff1a;<\/p>\n<p>192.168.x.x<br \/>\n172.16.x.x &#8211; 172.31.x.x<br \/>\n10.x.x.x<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>10.0.0.9<br \/>\n192.0.2.45<\/p>\n<p>\u5916\u5730\u7684\u4eba\u4e0d\u80fd\u76f4\u63a5\u901a\u8fc7\u516c\u7f51\u8bbf\u95ee\u5b83\u4eec\u3002<\/p>\n<hr \/>\n<h3>\u5341\u4e8c\u3001\u672c\u6b21\u5b9e\u8df5\u6700\u7ec8\u7ecf\u9a8c<\/h3>\n<p>\u672c\u6b21\u5b9e\u8df5\u771f\u6b63\u66b4\u9732\u7684\u95ee\u9898\u4e0d\u662f Linux \u547d\u4ee4\u4e0d\u4f1a&#xff0c;\u800c\u662f\u7f51\u7edc\u94fe\u8def\u5224\u65ad\u5bb9\u6613\u6df7\u6dc6\u3002<\/p>\n<p>\u6700\u91cd\u8981\u7684\u7ecf\u9a8c\u5982\u4e0b&#xff1a;<\/p>\n<li>\u5148\u770b\u7269\u7406\u94fe\u8def&#xff1a;NO-CARRIER \u5c31\u5148\u522b\u7ea0\u7ed3 IP&#xff1b;<\/li>\n<li>\u6709\u7ebf\u516c\u7f51\u8981\u5148\u786e\u4fdd\u670d\u52a1\u5668\u80fd ping \u901a\u7f51\u5173&#xff1b;<\/li>\n<li>\u5b66\u6821 WiFi \u5373\u4f7f\u540c\u7f51\u6bb5&#xff0c;\u4e5f\u53ef\u80fd\u7981\u6b62\u7ec8\u7aef\u4e92\u8bbf&#xff1b;<\/li>\n<li>\u624b\u673a\u70ed\u70b9\u9002\u5408\u4e34\u65f6\u642d\u4e00\u4e2a\u5c0f\u5c40\u57df\u7f51&#xff1b;<\/li>\n<li>SSH \u670d\u52a1\u6b63\u5e38\u4e0d\u4ee3\u8868\u5916\u90e8\u4e00\u5b9a\u80fd\u8bbf\u95ee&#xff1b;<\/li>\n<li>\u5916\u5730\u8bbf\u95ee\u672c\u5730\u670d\u52a1\u5668&#xff0c;\u5fc5\u987b\u6709\u516c\u7f51\u5165\u53e3\u6216\u5185\u7f51\u7a7f\u900f&#xff1b;<\/li>\n<li>ZeroTier \/ Tailscale \u662f\u65e0\u516c\u7f51\u73af\u5883\u4e0b\u6700\u7701\u4e8b\u7684\u65b9\u6848&#xff1b;<\/li>\n<li>\u4e91\u670d\u52a1\u5668\u5e73\u53f0 \u80fd\u76f4\u63a5 SSH&#xff0c;\u662f\u56e0\u4e3a\u5e73\u53f0\u5df2\u7ecf\u5e2e\u4f60\u505a\u597d\u4e86\u516c\u7f51\u6620\u5c04\u3002<\/li>\n<hr \/>\n<h3>\u5341\u4e09\u3001\u63a8\u8350\u6700\u7ec8\u90e8\u7f72\u65b9\u6848<\/h3>\n<p>\u5982\u679c\u53ea\u662f\u672c\u5730\u4e34\u65f6\u8fde\u63a5&#xff1a;<\/p>\n<p>Windows \u548c\u670d\u52a1\u5668\u8fde\u63a5\u540c\u4e00\u4e2a\u624b\u673a\u70ed\u70b9<br \/>\nssh demo_user&#064;10.0.0.9<\/p>\n<p>\u5982\u679c\u8981\u5916\u5730\u957f\u671f\u8fde\u63a5&#xff1a;<\/p>\n<p>\u63a8\u8350 ZeroTier \u6216 Tailscale<\/p>\n<p>\u6700\u7ec8\u53ef\u4ee5\u7ed9\u5916\u5730\u4eba\u8fd9\u6837\u7684\u4fe1\u606f&#xff1a;<\/p>\n<p>Host&#xff1a;ZeroTier \u6216 Tailscale \u5206\u914d\u7684 IP<br \/>\nPort&#xff1a;22<br \/>\nUsername&#xff1a;demo_user<br \/>\nPassword&#xff1a;&lt;\u767b\u5f55\u5bc6\u7801&gt;<\/p>\n<p>\u5982\u679c\u60f3\u7528\u771f\u6b63\u516c\u7f51 IP&#xff1a;<\/p>\n<p>\u5fc5\u987b\u4fee\u597d 203.0.113.10 \u5bf9\u5e94\u7684\u6709\u7ebf\u516c\u7f51\u94fe\u8def<\/p>\n<hr \/>\n<h3>\u5341\u56db\u3001\u5e38\u7528\u547d\u4ee4\u901f\u67e5<\/h3>\n<h4>\u67e5\u770b\u7f51\u5361<\/h4>\n<p><span class=\"token function\">ip<\/span> addr<br \/>\nnmcli device<br \/>\n<span class=\"token function\">ip<\/span> route<\/p>\n<h4>\u67e5\u770b\u6709\u7ebf\u94fe\u8def<\/h4>\n<p><span class=\"token function\">ip<\/span> addr show p8p1<br \/>\n<span class=\"token function\">ip<\/span> neigh<br \/>\n<span class=\"token function\">ping<\/span> <span class=\"token number\">203.0<\/span>.113.9<\/p>\n<h4>\u67e5\u770b WiFi<\/h4>\n<p>nmcli radio wifi on<br \/>\nnmcli device wifi list<br \/>\nnmcli device wifi connect <span class=\"token string\">&#034;WiFi\u540d\u79f0&#034;<\/span> password <span class=\"token string\">&#034;WiFi\u5bc6\u7801&#034;<\/span><\/p>\n<h4>\u67e5\u770b SSH<\/h4>\n<p>systemctl status sshd<br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> <span class=\"token parameter variable\">&#8211;now<\/span> sshd<br \/>\nss <span class=\"token parameter variable\">-lntp<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> :22<\/p>\n<h4>\u5173\u95ed\u9632\u706b\u5899\u6d4b\u8bd5<\/h4>\n<p>systemctl stop firewalld<br \/>\niptables <span class=\"token parameter variable\">-F<\/span><\/p>\n<h4>Windows \u6d4b\u8bd5\u7aef\u53e3<\/h4>\n<p>ping \u670d\u52a1\u5668IP<br \/>\n<span class=\"token function\">Test-NetConnection<\/span> \u670d\u52a1\u5668IP <span class=\"token operator\">&#8211;<\/span>Port 22<\/p>\n<h4>\u521b\u5efa\u7528\u6237<\/h4>\n<p><span class=\"token function\">useradd<\/span> demo_user<br \/>\n<span class=\"token function\">passwd<\/span> demo_user<br \/>\n<span class=\"token function\">usermod<\/span> <span class=\"token parameter variable\">-aG<\/span> wheel demo_user<\/p>\n<h4>SSH \u767b\u5f55<\/h4>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;\u670d\u52a1\u5668IP<\/p>\n<p>\u6307\u5b9a\u7aef\u53e3&#xff1a;<\/p>\n<p><span class=\"token function\">ssh<\/span> demo_user&#064;\u670d\u52a1\u5668IP <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">2222<\/span><\/p>\n<hr \/>\n<h3>\u5341\u4e94\u3001\u7ed3\u8bed<\/h3>\n<p>\u8fd9\u6b21\u5b9e\u8df5\u6700\u6838\u5fc3\u7684\u6536\u83b7\u662f&#xff1a;<\/p>\n<p>Linux \u670d\u52a1\u5668\u8fdc\u7a0b\u8fde\u63a5\u95ee\u9898&#xff0c;\u4e0d\u8981\u4e00\u4e0a\u6765\u5c31\u6000\u7591\u8d26\u53f7\u5bc6\u7801\u3002\u8981\u5148\u5224\u65ad\u7f51\u7edc\u8def\u5f84\u662f\u5426\u901a\u3001\u7aef\u53e3\u662f\u5426\u901a\u3001\u670d\u52a1\u662f\u5426\u76d1\u542c\u3001\u8ba4\u8bc1\u662f\u5426\u5141\u8bb8\u3002<\/p>\n<p>\u5b8c\u6574\u6392\u67e5\u987a\u5e8f\u5e94\u8be5\u662f&#xff1a;<\/p>\n<p>\u7269\u7406\u94fe\u8def<br \/>\n  \u2193<br \/>\nIP \u914d\u7f6e<br \/>\n  \u2193<br \/>\n\u8def\u7531<br \/>\n  \u2193<br \/>\n\u80fd\u5426 ping \u7f51\u5173<br \/>\n  \u2193<br \/>\n\u80fd\u5426\u51fa\u7f51<br \/>\n  \u2193<br \/>\nSSH \u670d\u52a1\u662f\u5426\u76d1\u542c<br \/>\n  \u2193<br \/>\n\u9632\u706b\u5899\u662f\u5426\u653e\u884c<br \/>\n  \u2193<br \/>\n\u5ba2\u6237\u7aef\u662f\u5426\u80fd\u8bbf\u95ee 22 \u7aef\u53e3<br \/>\n  \u2193<br \/>\n\u8d26\u53f7\u5bc6\u7801\u6216\u5bc6\u94a5\u8ba4\u8bc1<\/p>\n<p>\u53ea\u8981\u6309\u7167\u8fd9\u4e2a\u987a\u5e8f\u6392\u67e5&#xff0c;\u5c31\u4e0d\u4f1a\u5728\u201c\u4e3a\u4ec0\u4e48\u6211\u80fd\u4e0a\u7f51\u4f46\u522b\u4eba\u8fde\u4e0d\u4e0a\u6211\u201d\u8fd9\u4e2a\u95ee\u9898\u4e0a\u53cd\u590d\u7ed5\u5708\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u5b9e\u9a8c\u5ba4\u914d\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519\u7684\u4e00\u6b21\u7ecf\u5386&#xff0c;\u4ec5\u4f5c\u5206\u4eab\u3002<br \/>\n\u5185\u5bb9\u5df2\u7ecf\u8fdb\u884c\u8131\u654f&#xff0c;IP\u5730\u5740\u975e\u771f\u5b9eIP\u3002\u4e3b\u9898&#xff1a;\u4ece\u201c\u8fdb\u4e0d\u53bb\u7cfb\u7edf\u201d\u5230\u201c\u914d\u7f6e IP\u3001\u8fde\u63a5 WiFi\u3001\u5f00\u542f SSH\u3001\u6392\u67e5\u516c\u7f51\u4e0e\u5c40\u57df\u7f51\u8fdc\u7a0b\u8fde\u63a5\u201d\u7684\u5b8c\u6574\u5b9e\u8df5\u8bb0\u5f55\u3002<br \/>\n\u8bf4\u660e&#xff1a;\u672c\u6587\u5df2\u5bf9\u7528\u6237\u540d\u3001SSID\u3001MAC \u5730\u5740\u3001\u516c\u7f51 IP\u3001\u5185\u7f51 IP\u3001\u8def\u5f84\u548c\u5bc6\u7801\u7b49\u4fe1\u606f\u8fdb\u884c\u8131\u654f&#xff0c;\u6240\u6709\u5730\u5740\u5747\u4e3a\u793a\u4f8b\u3002<br \/>\n\u9002\u7528\u5bf9\u8c61&#xff1a;\u521a\u63a5\u89e6 Linux \u670d\u52a1\u5668\u3001CentOS 7\u3001SSH <\/p>\n","protected":false},"author":2,"featured_media":115684,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[59,43,78],"topic":[],"class_list":["post-115685","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-centos","tag-43","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519 - \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\/115685.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e3a\u5b9e\u9a8c\u5ba4\u914d\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519\u7684\u4e00\u6b21\u7ecf\u5386&#xff0c;\u4ec5\u4f5c\u5206\u4eab\u3002 \u5185\u5bb9\u5df2\u7ecf\u8fdb\u884c\u8131\u654f&#xff0c;IP\u5730\u5740\u975e\u771f\u5b9eIP\u3002\u4e3b\u9898&#xff1a;\u4ece\u201c\u8fdb\u4e0d\u53bb\u7cfb\u7edf\u201d\u5230\u201c\u914d\u7f6e IP\u3001\u8fde\u63a5 WiFi\u3001\u5f00\u542f SSH\u3001\u6392\u67e5\u516c\u7f51\u4e0e\u5c40\u57df\u7f51\u8fdc\u7a0b\u8fde\u63a5\u201d\u7684\u5b8c\u6574\u5b9e\u8df5\u8bb0\u5f55\u3002 \u8bf4\u660e&#xff1a;\u672c\u6587\u5df2\u5bf9\u7528\u6237\u540d\u3001SSID\u3001MAC \u5730\u5740\u3001\u516c\u7f51 IP\u3001\u5185\u7f51 IP\u3001\u8def\u5f84\u548c\u5bc6\u7801\u7b49\u4fe1\u606f\u8fdb\u884c\u8131\u654f&#xff0c;\u6240\u6709\u5730\u5740\u5747\u4e3a\u793a\u4f8b\u3002 \u9002\u7528\u5bf9\u8c61&#xff1a;\u521a\u63a5\u89e6 Linux \u670d\u52a1\u5668\u3001CentOS 7\u3001SSH\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/115685.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-12T19:41:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261012194117-6acd37ddceb6c.png\" \/>\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=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115685.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/115685.html\",\"name\":\"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-12T19:41:20+00:00\",\"dateModified\":\"2026-10-12T19:41:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/115685.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/115685.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/115685.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519\"}]},{\"@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":"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519 - \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\/115685.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e3a\u5b9e\u9a8c\u5ba4\u914d\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519\u7684\u4e00\u6b21\u7ecf\u5386&#xff0c;\u4ec5\u4f5c\u5206\u4eab\u3002 \u5185\u5bb9\u5df2\u7ecf\u8fdb\u884c\u8131\u654f&#xff0c;IP\u5730\u5740\u975e\u771f\u5b9eIP\u3002\u4e3b\u9898&#xff1a;\u4ece\u201c\u8fdb\u4e0d\u53bb\u7cfb\u7edf\u201d\u5230\u201c\u914d\u7f6e IP\u3001\u8fde\u63a5 WiFi\u3001\u5f00\u542f SSH\u3001\u6392\u67e5\u516c\u7f51\u4e0e\u5c40\u57df\u7f51\u8fdc\u7a0b\u8fde\u63a5\u201d\u7684\u5b8c\u6574\u5b9e\u8df5\u8bb0\u5f55\u3002 \u8bf4\u660e&#xff1a;\u672c\u6587\u5df2\u5bf9\u7528\u6237\u540d\u3001SSID\u3001MAC \u5730\u5740\u3001\u516c\u7f51 IP\u3001\u5185\u7f51 IP\u3001\u8def\u5f84\u548c\u5bc6\u7801\u7b49\u4fe1\u606f\u8fdb\u884c\u8131\u654f&#xff0c;\u6240\u6709\u5730\u5740\u5747\u4e3a\u793a\u4f8b\u3002 \u9002\u7528\u5bf9\u8c61&#xff1a;\u521a\u63a5\u89e6 Linux \u670d\u52a1\u5668\u3001CentOS 7\u3001SSH","og_url":"https:\/\/www.wsisp.com\/helps\/115685.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-12T19:41:20+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261012194117-6acd37ddceb6c.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/115685.html","url":"https:\/\/www.wsisp.com\/helps\/115685.html","name":"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-12T19:41:20+00:00","dateModified":"2026-10-12T19:41:20+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/115685.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/115685.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/115685.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8bb0\u4e00\u6b21 CentOS 7 \u670d\u52a1\u5668\u7f51\u7edc\u914d\u7f6e\u4e0e SSH \u8fdc\u7a0b\u8fde\u63a5\u6392\u9519"}]},{"@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\/115685","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=115685"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/115685\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/115684"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=115685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=115685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=115685"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=115685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}