0
安装owncloud并运行MySQL安全设置后,我无法再连接到服务器。我收到以下错误:CentOS 6连接由远程主机关闭
MacBook-Pro:~ username$ ssh -i ~/.ssh/authorized_keys2 [email protected] -v
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to x.x.x.x [x.x.x.x] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/username/.ssh/authorized_keys2 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/username/.ssh/authorized_keys2-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: Connection closed by remote host
发生了什么事,我该如何解决?我仍然有一个活动的连接到服务器
检查日志。它看起来像tcp_wrappers('/ etc/hosts.allow','/ etc/hosts.deny')问题。 – Jakuje
grep sshd /etc/hosts.allow返回任何和相同的拒绝 –
不要grep那里。有几行。发布他们到编辑的问题。也从你的机器上发布最近的日志。 – Jakuje