iKuai爱快流控路由

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1326|回复: 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

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏1 支持支持 反对反对
沙发
发表于 2020-8-12 13:25:13 | 只看该作者
能ping通服务器么,可以的话,检查端口是否正常,如果都正常依旧无法ssh的话,考虑其他的原因,日志中也提示了找不到文件,由对端重置连接
板凳
 楼主| 发表于 2020-8-12 20:54:09 | 只看该作者
找到原因了,谢谢。服务器网关设成旁路由了,修改后正常。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|手机版|Archiver|论坛规章制度|iKuai Inc. ( 京ICP备13042604号 )

GMT+8, 2024-4-20 16:14

Powered by Discuz! X3.3

© 2001-2024 Comsenz Inc.

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