SSH 默认转发远程服务器端口时监听loop,只能通过本地访问端口,如:
ssh -R 0.0.0.0:9022:localhost:22 root@qiansw.com
修改配置文件允许自定义监听地址:
echo 'GatewayPorts yes' >> /etc/ssh/sshd_config
/etc/init.d/sshd restart
SSH 默认转发远程服务器端口时监听loop,只能通过本地访问端口,如:
ssh -R 0.0.0.0:9022:localhost:22 root@qiansw.com
修改配置文件允许自定义监听地址:
echo 'GatewayPorts yes' >> /etc/ssh/sshd_config
/etc/init.d/sshd restart
SSH 不知道是个什么。
ssh = 说实话