ssh转发
概述
linux隧道转发,通过22端口实现端口转发
实践
//client->sshhost->mailhost
ssh -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