ssh转发 Posted on 2024-06-01 Edited on 2026-07-18 Views: linux隧道转发通过22端口实现端口转发 client->sshhost->mailhostssh -L localport:remotehost:remoteport sshhost #sshhost 中间左右联通的管道 client ->sshhost (客户端8080端口转发到sshhost 80)ssh -L 8080:localhost:80 sshhost ssh -X //x11 ssh -Nf -L 2025:mailhost:25 sshhost