ssh -NfR romote:port:localhost:port aws如果romote为0.0.0.0,则需要在服务器aws上编辑/etc/ssh/sshd_config:GatewayPorts yes重启sshd