xiangqiao 2015-10-01
ssh -oGSSAPIAuthentication=no -CNfgR 9366:127.0.0.1:22 [email protected] -p 57986
ssh -CfgNR 4001::4001 [email protected]
打开 /etc/sysctl.conf
中的net.ipv4.ip_forward = 1
/etc/ssh/sshd_config
AllowTcpForwarding yes 允许端口转发
GatewayPorts yes 允许绑定在 0.0.0.0上监听端口