{"id":14428,"date":"2025-04-18T21:12:55","date_gmt":"2025-04-18T13:12:55","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/14428.html"},"modified":"2025-04-18T21:12:55","modified_gmt":"2025-04-18T13:12:55","slug":"%e6%95%99%e4%bd%a0%e5%a6%82%e4%bd%95%e3%80%8essh%e3%80%8f%e8%bf%9c%e7%a8%8b%e8%bf%9e%e6%8e%a5%e3%80%8e%e5%86%85%e7%bd%91%e3%80%8f%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/14428.html","title":{"rendered":"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668"},"content":{"rendered":"<h3>\u524d\u8a00<\/h3>\n<p>\u6700\u8fd1\u535a\u4e3b\u5b9e\u9a8c\u5ba4\u8981\u642c\u5bb6&#xff0c;\u56e0\u4e3a\u670d\u52a1\u5668\u53ea\u6709\u8fde\u63a5\u5185\u7f51\u624d\u80fd\u4f7f\u7528&#xff0c;\u6240\u4ee5\u642c\u8d70\u4e4b\u540e\u5c31\u65e0\u6cd5\u5728\u516c\u7f51\u8fde\u63a5\u4f7f\u7528\u670d\u52a1\u5668&#xff0c;\u786e\u5b9e\u662f\u8ba9\u4eba\u975e\u5e38\u82e6\u607c&#xff0c;\u6240\u4ee5\u672c\u6587\u5c06\u4f1a\u4e3b\u8981\u8bb2\u89e3\u5982\u4f55\u4f7f\u7528\u516c\u7f51\u670d\u52a1\u5668 SSH \u8fde\u63a5\u5185\u7f51\u670d\u52a1\u5668<\/p>\n<p>\u7cfb\u7edf\u914d\u7f6e<\/p>\n<ul>\n<li>\u5185\u7f51\u670d\u52a1\u5668&#xff1a;Ubuntu 18.04<\/li>\n<li>\u516c\u7f51\u670d\u52a1\u5668&#xff1a;CentOS 7.9<\/li>\n<\/ul>\n<h3>\u65b9\u6848<\/h3>\n<p>\u4e0b\u9762\u6c47\u603b\u516c\u7f51\u8bbf\u95ee\u5185\u7f51\u670d\u52a1\u7684\u5404\u79cd\u65b9\u5f0f<\/p>\n<p>1\u3001\u4f7f\u7528 TeamViewer \u7b49\u8fdc\u7a0b\u684c\u9762\u3002\u4f46\u662f\u9700\u8981\u53cc\u65b9\u90fd\u8981\u5b89\u88c5TeamViewer\u8f6f\u4ef6&#xff0c;\u4e14\u7248\u672c\u8981\u4e00\u81f4\u3002\u867d\u7136\u53ef\u7528&#xff0c;\u4f46\u662f\u6bd4\u8f83\u9ebb\u70e6<\/p>\n<p>2\u3001\u4f7f\u7528\u82b1\u751f\u58f3\u8f6f\u4ef6\u8fdb\u884cDDNS\u89e3\u6790\u3002\u867d\u7136\u53ef\u7528&#xff0c;\u4f46\u514d\u8d39\u7248\u672c\u6709\u5e26\u5bbd\u9650\u5236&#xff0c;\u4f7f\u7528\u6548\u679c\u4e0d\u7406\u60f3\u3002<\/p>\n<p>3\u3001\u642d\u5efa frp \u670d\u52a1\u5668\u8fdb\u884c\u5185\u7f51\u7a7f\u900f\u3002\u53ef\u4ee5\u8fbe\u5230\u4e0d\u9519\u7684\u901f\u5ea6&#xff0c;\u4e14\u53ef\u4ee5\u5f00\u653e\u4efb\u4f55\u60f3\u8981\u7684\u7aef\u53e3&#xff0c;\u53ef\u4ee5\u8ba9\u5904\u4e8e\u5185\u7f51\u6216\u9632\u706b\u5899\u540e\u7684\u8bbe\u5907\u5bf9\u5916\u754c\u63d0\u4f9b\u670d\u52a1&#xff0c;\u5b83\u652f\u6301HTTP\u3001TCP\u3001UDP\u7b49\u4f17\u591a\u534f\u8bae&#xff0c;\u63a8\u8350\u4f7f\u7528\u3002<\/p>\n<p>\u7efc\u4e0a\u6240\u8ff0&#xff0c;\u672c\u6587\u5c06\u4f1a\u5728\u516c\u7f51\u670d\u52a1\u5668\u642d\u5efa frp \u670d\u52a1&#xff0c;\u8fdb\u884c\u5185\u7f51\u7a7f\u900f&#xff0c;\u8fbe\u5230 SSH \u8fde\u63a5\u5185\u7f51\u670d\u52a1\u5668\u7684\u6548\u679c<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131254-68024fd614356.png\" alt=\"image-20231009221113810\" \/><\/p>\n<h3>\u4ecb\u7ecd<\/h3>\n<p>frp \u662f\u4e00\u4e2a\u4e13\u6ce8\u4e8e\u5185\u7f51\u7a7f\u900f\u7684\u9ad8\u6027\u80fd\u7684\u53cd\u5411\u4ee3\u7406\u5e94\u7528&#xff0c;\u652f\u6301 TCP\u3001UDP\u3001HTTP\u3001HTTPS \u7b49\u591a\u79cd\u534f\u8bae&#xff0c;\u4e14\u652f\u6301 P2P \u901a\u4fe1\u3002\u53ef\u4ee5\u5c06\u5185\u7f51\u670d\u52a1\u4ee5\u5b89\u5168\u3001\u4fbf\u6377\u7684\u65b9\u5f0f\u901a\u8fc7\u5177\u6709\u516c\u7f51 IP \u8282\u70b9\u7684\u4e2d\u8f6c\u66b4\u9732\u5230\u516c\u7f51<\/p>\n<p>\u6ce8&#xff1a;\u5185\u7f51\u7a7f\u900f&#xff0c;\u7b80\u5355\u5730\u8bf4\u5c31\u662f\u5185\u7f51\u7684\u6570\u636e\u8ba9\u5916\u7f51\u53ef\u4ee5\u83b7\u53d6&#xff0c;\u53ef\u4ee5\u6620\u5c04\u5230\u516c\u5171\u7f51\u7edc\u4e0a&#xff0c;\u8fd9\u6837\u5c31\u53ef\u4ee5\u5728\u516c\u5171\u7f51\u7edc\u4e0a\u8bbf\u95ee\u5185\u7f51\u7684\u6570\u636e\u3002<\/p>\n<p>\u5b98\u7f51\u4ed3\u5e93&#xff1a;fatedier\/frp: A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet. (github.com)<\/p>\n<p>\u5b98\u65b9\u6587\u6863&#xff1a;\u6587\u6863 | frp (gofrp.org)<\/p>\n<h3>\u5b89\u88c5\u90e8\u7f72<\/h3>\n<p>\u672c\u6587\u5bf9\u5e94\u5b98\u65b9\u6587\u6863&#xff1a;\u901a\u8fc7 SSH \u8bbf\u95ee\u5185\u7f51\u673a\u5668 | frp (gofrp.org)<\/p>\n<h4>\u4e0b\u8f7d<\/h4>\n<p>\u6211\u4eec\u9700\u8981\u5206\u522b\u5728\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u4e0b\u8f7d frp \u5b89\u88c5\u5305<\/p>\n<p><span class=\"token function\">wget<\/span> https:\/\/github.com\/fatedier\/frp\/releases\/download\/v0.51.3\/frp_0.51.3_linux_amd64.tar.gz <\/p>\n<p>\u7136\u540e\u89e3\u538b\u5b89\u88c5\u5305<\/p>\n<p><span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-zxvf<\/span> frp_0.51.3_linux_amd64.tar.gz<\/p>\n<p>\u5c55\u793a\u6587\u4ef6\u5185\u5bb9<\/p>\n<p><span class=\"token comment\"># ls -l<\/span><br \/>\ntotal <span class=\"token number\">30784<\/span><br \/>\n-rw-r&#8211;r&#8211;. <span class=\"token number\">1<\/span> <span class=\"token number\">1001<\/span> <span class=\"token function\">docker<\/span>    <span class=\"token number\">11358<\/span> Aug <span class=\"token number\">14<\/span> <span class=\"token number\">12<\/span>:09 LICENSE<br \/>\n-rwxr-xr-x. <span class=\"token number\">1<\/span> <span class=\"token number\">1001<\/span> <span class=\"token function\">docker<\/span> <span class=\"token number\">14290944<\/span> Aug <span class=\"token number\">14<\/span> <span class=\"token number\">12<\/span>:04 frpc<br \/>\n-rw-r&#8211;r&#8211;. <span class=\"token number\">1<\/span> <span class=\"token number\">1001<\/span> <span class=\"token function\">docker<\/span>      <span class=\"token number\">126<\/span> Aug <span class=\"token number\">14<\/span> <span class=\"token number\">12<\/span>:09 frpc.ini<br \/>\n-rw-r&#8211;r&#8211;. <span class=\"token number\">1<\/span> <span class=\"token number\">1001<\/span> <span class=\"token function\">docker<\/span>    <span class=\"token number\">12669<\/span> Aug <span class=\"token number\">14<\/span> <span class=\"token number\">12<\/span>:09 frpc_full.ini<br \/>\n-rwxr-xr-x. <span class=\"token number\">1<\/span> <span class=\"token number\">1001<\/span> <span class=\"token function\">docker<\/span> <span class=\"token number\">17186816<\/span> Aug <span class=\"token number\">14<\/span> <span class=\"token number\">12<\/span>:04 frps<br \/>\n-rw-r&#8211;r&#8211;. <span class=\"token number\">1<\/span> <span class=\"token number\">1001<\/span> <span class=\"token function\">docker<\/span>       <span class=\"token number\">26<\/span> Aug <span class=\"token number\">14<\/span> <span class=\"token number\">12<\/span>:09 frps.ini<br \/>\n-rw-r&#8211;r&#8211;. <span class=\"token number\">1<\/span> <span class=\"token number\">1001<\/span> <span class=\"token function\">docker<\/span>     <span class=\"token number\">5933<\/span> Aug <span class=\"token number\">14<\/span> <span class=\"token number\">12<\/span>:09 frps_full.ini<\/p>\n<p>\u5176\u4e2d frpc \u662f\u5185\u7f51\u670d\u52a1\u5668\u7528\u7684&#xff0c;frps \u662f\u516c\u7f51\u670d\u52a1\u5668\u7528\u7684<\/p>\n<h4>\u914d\u7f6e<\/h4>\n<p>\u6700\u540e\u6211\u4eec\u9700\u8981\u586b\u5199\u914d\u7f6e\u6587\u4ef6&#xff0c;\u9996\u5148\u6211\u4eec\u4fee\u6539\u516c\u7f51\u670d\u52a1\u5668\u4e0a\u7684 frps.ini \u6587\u4ef6<\/p>\n<p># frps<br \/>\n[common]<br \/>\nbind_port &#061; 7000<\/p>\n<p>\u7136\u540e\u5728\u5185\u7f51\u670d\u52a1\u5668\u4e0a\u4fee\u6539 frpc.ini \u6587\u4ef6&#xff0c;\u5047\u8bbe frps \u6240\u5728\u670d\u52a1\u5668\u7684\u516c\u7f51 IP \u4e3a x.x.x.x<\/p>\n<p># frpc<br \/>\n[common]<br \/>\n# tls_enable \u9632\u6b62\u542f\u52a8\u62a5\u9519 login to server failed: EOF<br \/>\ntls_enable &#061; true<br \/>\nserver_addr &#061; x.x.x.x<br \/>\nserver_port &#061; 7000<\/p>\n<p>[ssh]<br \/>\ntype &#061; tcp<br \/>\nlocal_ip &#061; 127.0.0.1<br \/>\nlocal_port &#061; 22<br \/>\nremote_port &#061; 6000<\/p>\n<p>\u6ce8&#xff1a;\u516c\u7f51\u670d\u52a1\u5668\u9700\u8981\u5f00\u542f 6000 7000 \u7aef\u53e3\u9632\u706b\u5899\u548c\u5b89\u5168\u7ec4\u914d\u7f6e<\/p>\n<p>\u6700\u540e\u5206\u522b\u542f\u52a8\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef<\/p>\n<p><span class=\"token comment\"># \u670d\u52a1\u7aef<\/span><br \/>\n.\/frps <span class=\"token parameter variable\">-c<\/span> .\/frps.ini<br \/>\n<span class=\"token comment\"># \u5ba2\u6237\u7aef<\/span><br \/>\n.\/frpc <span class=\"token parameter variable\">-c<\/span> .\/frpc.ini<\/p>\n<p>\u7136\u540e\u6211\u4eec\u5728\u672c\u5730\u4f7f\u7528 SSH \u8bbf\u95ee\u5185\u7f51\u673a\u5668&#xff0c;\u5047\u8bbe\u4f7f\u7528 test \u7528\u6237\u8fde\u63a5<\/p>\n<p><span class=\"token function\">ssh<\/span> <span class=\"token parameter variable\">-oPort<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">6000<\/span> test&#064;x.x.x.x<br \/>\n<span class=\"token comment\"># \u6216\u662f<\/span><br \/>\n<span class=\"token function\">ssh<\/span> test&#064;x.x.x.x:6000<\/p>\n<p>frp \u4f1a\u5c06\u8bf7\u6c42 x.x.x.x:6000 \u7684\u6d41\u91cf\u8f6c\u53d1\u5230\u5185\u7f51\u673a\u5668\u7684 22 \u7aef\u53e3<\/p>\n<h3>\u7cfb\u7edf\u914d\u7f6e<\/h3>\n<p>\u6700\u540e\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 systemd \u542f\u52a8\u670d\u52a1\u5e76\u4e14\u914d\u7f6e\u5f00\u673a\u81ea\u542f&#xff0c;\u65b9\u4fbf\u540e\u7eed\u64cd\u4f5c<\/p>\n<p>\u5b98\u65b9\u914d\u7f6e\u6587\u6863&#xff1a;\u4f7f\u7528 systemd | frp (gofrp.org)<\/p>\n<h4>\u670d\u52a1\u7aef<\/h4>\n<p>\u9996\u5148\u6211\u4eec\u53ef\u4ee5\u5728 frp \u670d\u52a1\u7aef\u521b\u5efa\u5e76\u7f16\u8f91 frps.service \u6587\u4ef6<\/p>\n<p><span class=\"token function\">vim<\/span> \/etc\/systemd\/system\/frps.service<\/p>\n<p>\u5199\u5165\u5185\u5bb9<\/p>\n<p><span class=\"token punctuation\">[<\/span>Unit<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token comment\"># \u670d\u52a1\u540d\u79f0&#xff0c;\u53ef\u81ea\u5b9a\u4e49<\/span><br \/>\nDescription <span class=\"token operator\">&#061;<\/span> frp server<br \/>\nAfter <span class=\"token operator\">&#061;<\/span> network.target syslog.target<br \/>\nWants <span class=\"token operator\">&#061;<\/span> network.target<\/p>\n<p><span class=\"token punctuation\">[<\/span>Service<span class=\"token punctuation\">]<\/span><br \/>\nType <span class=\"token operator\">&#061;<\/span> simple<br \/>\n<span class=\"token comment\"># \u542f\u52a8frps\u7684\u547d\u4ee4&#xff0c;\u9700\u4fee\u6539\u4e3a\u60a8\u7684frps\u7684\u5b89\u88c5\u8def\u5f84<\/span><br \/>\n<span class=\"token assign-left variable\">ExecStart<\/span><span class=\"token operator\">&#061;<\/span>\/usr\/bin\/frps <span class=\"token parameter variable\">-c<\/span> \/etc\/frp\/frps.ini<\/p>\n<p><span class=\"token punctuation\">[<\/span>Install<span class=\"token punctuation\">]<\/span><br \/>\nWantedBy <span class=\"token operator\">&#061;<\/span> multi-user.target<\/p>\n<p>\u5176\u4e2d\u590d\u5236\u6587\u4ef6\u547d\u4ee4\u5982\u4e0b<\/p>\n<p><span class=\"token function\">cp<\/span> .\/frps \/usr\/bin\/frps<br \/>\n<span class=\"token function\">mkdir<\/span> \/etc\/frp<br \/>\n<span class=\"token function\">cp<\/span> .\/frps.ini  \/etc\/frp\/frps.ini<\/p>\n<p>\u5e38\u7528\u547d\u4ee4<\/p>\n<p><span class=\"token comment\"># \u542f\u52a8frp<\/span><br \/>\nsystemctl start frps<br \/>\n<span class=\"token comment\"># \u505c\u6b62frp<\/span><br \/>\nsystemctl stop frps<br \/>\n<span class=\"token comment\"># \u91cd\u542ffrp<\/span><br \/>\nsystemctl restart frps<br \/>\n<span class=\"token comment\"># \u67e5\u770bfrp\u72b6\u6001<\/span><br \/>\nsystemctl status frps<\/p>\n<p>\u914d\u7f6e frps \u5f00\u673a\u81ea\u542f<\/p>\n<p>systemctl <span class=\"token builtin class-name\">enable<\/span> frps<\/p>\n<h4>\u5ba2\u6237\u7aef<\/h4>\n<p>\u6b64\u5904\u4e0e\u670d\u52a1\u7aef\u914d\u7f6e\u57fa\u672c\u7c7b\u4f3c&#xff0c;\u6240\u4ee5\u7b80\u5355\u53d9\u8ff0<\/p>\n<p><span class=\"token function\">vim<\/span> \/etc\/systemd\/system\/frpc.service<\/p>\n<p><span class=\"token punctuation\">[<\/span>Unit<span class=\"token punctuation\">]<\/span><br \/>\nDescription <span class=\"token operator\">&#061;<\/span> frp client<br \/>\nAfter <span class=\"token operator\">&#061;<\/span> network.target syslog.target<br \/>\nWants <span class=\"token operator\">&#061;<\/span> network.target<\/p>\n<p><span class=\"token punctuation\">[<\/span>Service<span class=\"token punctuation\">]<\/span><br \/>\nType <span class=\"token operator\">&#061;<\/span> simple<br \/>\n<span class=\"token assign-left variable\">ExecStart<\/span><span class=\"token operator\">&#061;<\/span>\/usr\/bin\/frpc <span class=\"token parameter variable\">-c<\/span> \/etc\/frp\/frpc.ini<\/p>\n<p><span class=\"token punctuation\">[<\/span>Install<span class=\"token punctuation\">]<\/span><br \/>\nWantedBy <span class=\"token operator\">&#061;<\/span> multi-user.target<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> .\/frpc \/usr\/bin\/frpc<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">mkdir<\/span> \/etc\/frp<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> .\/frpc.ini  \/etc\/frp\/frpc.ini<\/p>\n<p><span class=\"token function\">sudo<\/span> systemctl start frpc<br \/>\n<span class=\"token function\">sudo<\/span> systemctl <span class=\"token builtin class-name\">enable<\/span> frpc<\/p>\n<h3>\u53c2\u8003\u94fe\u63a5<\/h3>\n<ul>\n<li>\u5982\u4f55\u4ece\u5916\u7f51SSH\u8fde\u63a5\u5185\u7f51\u670d\u52a1\u5668&#xff1f; &#8211; \u77e5\u4e4e (zhihu.com)<\/li>\n<li>\u5982\u4f55\u5728\u5bb6\u8fde\u63a5\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668 &#8211; \u77e5\u4e4e (zhihu.com)<\/li>\n<li>\u673a\u5668\u5b66\u4e60 &#8211; \u5728\u5bb6\u5982\u4f55\u8bbf\u95ee\u5185\u7f51\u673a\u5668&#xff1f; &#8211; \u4e2a\u4eba\u6587\u7ae0 &#8211; SegmentFault \u601d\u5426<\/li>\n<li>\u600e\u4e48\u5728\u5bb6\u8fdc\u7a0b\u8fde\u63a5\u5b9e\u9a8c\u5ba4\u7684\u670d\u52a1\u5668-\u706b\u5c71\u5f15\u64ce (volcengine.com)<\/li>\n<li>\u7ed9\u5b9e\u9a8c\u5ba4\u670d\u52a1\u5668\u914d\u7f6e\u5185\u7f51\u7a7f\u900f&#xff0c;\u907f\u514d\u5185\u7f51\u5c34\u5c2c&#xff0c;\u5728\u5bb6\u4e5f\u80fd\u7528\u670d\u52a1\u5668~_\u5185\u7f51\u4f7f\u7528realvnc-CSDN\u535a\u5ba2<\/li>\n<li>\u5982\u4f55\u8ba9\u4f60\u7684 Web \u9879\u76ee\u5b9e\u73b0\u5185\u7f51\u7a7f\u900f (freecodecamp.org)<\/li>\n<\/ul>\n<p>\u672c\u6587\u7531\u535a\u5ba2\u4e00\u6587\u591a\u53d1\u5e73\u53f0 OpenWrite \u53d1\u5e03&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb4.3k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf44\u6b21\u3002\u672c\u6587\u8bb2\u8ff0\u4e86\u5982\u4f55\u901a\u8fc7frp\uff08FastReverseProxy\uff09\u5728\u516c\u7f51\u670d\u52a1\u5668\u4e0a\u642d\u5efa\u670d\u52a1\uff0c\u5b9e\u73b0\u5185\u7f51\u7a7f\u900f\uff0c\u4ee5\u4fbf\u5728\u516c\u7f51\u73af\u5883\u4e0bSSH\u8fde\u63a5\u5185\u7f51\u670d\u52a1\u5668\u3002\u4ecb\u7ecd\u4e86frp\u7684\u7279\u70b9\u3001\u5b89\u88c5\u6b65\u9aa4\u3001\u914d\u7f6e\u6587\u4ef6\u7f16\u5199\u4ee5\u53casystemd\u81ea\u52a8\u542f\u52a8\u670d\u52a1\u7684\u65b9\u6cd5\u3002<\/p>\n","protected":false},"author":2,"featured_media":14427,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[906,908,907,415,909,905],"topic":[],"class_list":["post-14428","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-frp","tag-908","tag-907","tag-415","tag-909","tag-905"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668 - \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\/14428.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb4.3k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf44\u6b21\u3002\u672c\u6587\u8bb2\u8ff0\u4e86\u5982\u4f55\u901a\u8fc7frp\uff08FastReverseProxy\uff09\u5728\u516c\u7f51\u670d\u52a1\u5668\u4e0a\u642d\u5efa\u670d\u52a1\uff0c\u5b9e\u73b0\u5185\u7f51\u7a7f\u900f\uff0c\u4ee5\u4fbf\u5728\u516c\u7f51\u73af\u5883\u4e0bSSH\u8fde\u63a5\u5185\u7f51\u670d\u52a1\u5668\u3002\u4ecb\u7ecd\u4e86frp\u7684\u7279\u70b9\u3001\u5b89\u88c5\u6b65\u9aa4\u3001\u914d\u7f6e\u6587\u4ef6\u7f16\u5199\u4ee5\u53casystemd\u81ea\u52a8\u542f\u52a8\u670d\u52a1\u7684\u65b9\u6cd5\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/14428.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-18T13:12:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131254-68024fd614356.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/14428.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/14428.html\",\"name\":\"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T13:12:55+00:00\",\"dateModified\":\"2025-04-18T13:12:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/14428.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/14428.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/14428.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668\"}]},{\"@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":"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668 - \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\/14428.html","og_locale":"zh_CN","og_type":"article","og_title":"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb4.3k\u6b21\uff0c\u70b9\u8d5e31\u6b21\uff0c\u6536\u85cf44\u6b21\u3002\u672c\u6587\u8bb2\u8ff0\u4e86\u5982\u4f55\u901a\u8fc7frp\uff08FastReverseProxy\uff09\u5728\u516c\u7f51\u670d\u52a1\u5668\u4e0a\u642d\u5efa\u670d\u52a1\uff0c\u5b9e\u73b0\u5185\u7f51\u7a7f\u900f\uff0c\u4ee5\u4fbf\u5728\u516c\u7f51\u73af\u5883\u4e0bSSH\u8fde\u63a5\u5185\u7f51\u670d\u52a1\u5668\u3002\u4ecb\u7ecd\u4e86frp\u7684\u7279\u70b9\u3001\u5b89\u88c5\u6b65\u9aa4\u3001\u914d\u7f6e\u6587\u4ef6\u7f16\u5199\u4ee5\u53casystemd\u81ea\u52a8\u542f\u52a8\u670d\u52a1\u7684\u65b9\u6cd5\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/14428.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T13:12:55+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418131254-68024fd614356.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/14428.html","url":"https:\/\/www.wsisp.com\/helps\/14428.html","name":"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T13:12:55+00:00","dateModified":"2025-04-18T13:12:55+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/14428.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/14428.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/14428.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u6559\u4f60\u5982\u4f55\u300eSSH\u300f\u8fdc\u7a0b\u8fde\u63a5\u300e\u5185\u7f51\u300f\u670d\u52a1\u5668"}]},{"@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\/14428","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=14428"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/14428\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/14427"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=14428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=14428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=14428"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=14428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}