<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SSH on 夏次の备忘录</title><link>https://blog.xiaci.top/categories/ssh/</link><description>Recent content from 夏次の备忘录</description><generator>Hugo</generator><language>zh-cn</language><managingEditor>xiaciyidingde@gmail.com (夏次一定de)</managingEditor><webMaster>xiaciyidingde@gmail.com (夏次一定de)</webMaster><copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright><lastBuildDate>Mon, 30 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.xiaci.top/categories/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>SSH隧道原理与实操指南</title><link>https://blog.xiaci.top/post/linux/ssh/ssh_tunnel_principle/</link><pubDate>Mon, 30 Mar 2026 00:00:00 +0000</pubDate><author>xiaciyidingde@gmail.com (夏次一定de)</author><guid>https://blog.xiaci.top/post/linux/ssh/ssh_tunnel_principle/</guid><description>
<![CDATA[<h1>SSH隧道原理与实操指南</h1><p>作者：夏次一定de（xiaciyidingde@gmail.com）</p>
        
          <h2 id="ssh隧道基础原理">
<a class="header-anchor" href="#ssh%e9%9a%a7%e9%81%93%e5%9f%ba%e7%a1%80%e5%8e%9f%e7%90%86"></a>
SSH隧道基础原理
</h2><h3 id="ssh连接机制">
<a class="header-anchor" href="#ssh%e8%bf%9e%e6%8e%a5%e6%9c%ba%e5%88%b6"></a>
SSH连接机制
</h3><p>SSH不仅仅是远程登录工具，更重要的是提供加密通信通道。当SSH客户端与服务端建立连接后：</p>
<ul>
<li>客户端输入的命令（如<code>ls</code>）被封装成加密数据包传输</li>
<li>服务端执行命令后，结果以同样的加密方式返回</li>
<li>防火墙只能看到SSH数据包，无法获知内部传输内容</li>
</ul>
<h3 id="端口与网络限制问题">
<a class="header-anchor" href="#%e7%ab%af%e5%8f%a3%e4%b8%8e%e7%bd%91%e7%bb%9c%e9%99%90%e5%88%b6%e9%97%ae%e9%a2%98"></a>
端口与网络限制问题
</h3><p>实际场景中存在两大访问限制：</p>
        
        <hr><p>本文2026-03-30首发于<a href='https://blog.xiaci.top/'>夏次の备忘录</a>，最后修改于2026-03-30</p>]]></description><category>SSH</category></item></channel></rss>