hey,guys. 我最近在研究车载嵌入式产品,boss 想实现一个远程调试功能,我使用的是 SSH 反向连接,在办公室使用网线连接测试正常,但是使用 3G 网络了就有问题.在我的公网服务器上反向连接的时候报:ssh_exchange_identification: Connection closed by remote host. 在我的车载设备上报:connect_to localhost: unknown host (Name or service not known)。
想请教大家,哪里的问题? thx
1
leozlee OP 问题解决了,原来我使用的是默认端口,后来在 google 上查看一个类似的问题,将 sshd 端口号改成大于 1024 就可以了。
Problem solved. |