如何在 Termius 中添加带有端口转发的 ssh 命令(使用 -L、-R、-D)?本文提供了将ssh端口转发规则映射到 Termius 中的端口转发规则的命令片段示例。
本地端口转发规则
ssh -N -L 127.0.0.1:8080:web.example.com:80 user@host.example.com

远程端口转发规则
ssh -N -R 127.0.0.1:8080:google.com:80 user@host.example.com

动态端口转发规则
ssh -N -D 127.0.0.1:1080 user@host.example.com
