将远程服务器的端口映射到本地,以方便调试。
ssh -NL LocalPort:RemoteAddr:RemotePort root@xxx.com ssh -NL 3307:localhost:3306 root@remote_ip -p remote_port