请选择 进入手机版 | 继续访问电脑版

iKuai爱快流控路由

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 150|回复: 2

[问题反馈] 3.4固件使用openvpn,ssh无法连接远程服务器。

[复制链接]
发表于 2020-8-12 11:21:12 | 显示全部楼层 |阅读模式
本帖最后由 flankerxiao 于 2020-8-12 12:41 编辑

问题如题,3.3.9正常。服务器本地ssh正常。

报错信息,按照百度修改 hosts.allow 添加 sshd:ALL 依然无效。


[root@YQS ~]# ssh -v 192.168.0.17
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to 192.168.0.17 [192.168.0.17] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
ssh_exchange_identification: read: Connection reset by peer

发表于 2020-8-12 13:25:13 | 显示全部楼层
能ping通服务器么,可以的话,检查端口是否正常,如果都正常依旧无法ssh的话,考虑其他的原因,日志中也提示了找不到文件,由对端重置连接
 楼主| 发表于 2020-8-12 20:54:09 | 显示全部楼层
找到原因了,谢谢。服务器网关设成旁路由了,修改后正常。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Archiver|iKuai Inc. ( 京ICP备13042604号 )  

GMT+8, 2020-9-27 20:53

Powered by Discuz! X3.3

© 2001-2020 Comsenz Inc.

快速回复 返回顶部 返回列表