我不确定我的网站是否被黑客入侵,或者有一个与服务器相关的错误。我的网站运行良好,自从我发表了它,昨天我访问了它,它说,连接拒绝。我通知了我的主机提供商,他们告诉我要创建一个新的数据库连接,当我打开phpMyAdmin时,我收到一个奇怪的错误,上面写着:
Warning in ./libraries/plugins/auth/AuthenticationCpanel.php#629
mysqli_connect(): (HY000/2002): Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (2)当我试图将ssh插入我的服务器时,我会得到以下错误:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for [wesocular.com]:60504 has changed,
and the key for the corresponding IP address [46.105.40.12]:60504
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:EvplXyAHYO4nP4rmOtJ2j3wc4O04UMUWMvLi9ZpsVuU.
Please contact your system administrator.
Add correct host key in /c/Users/Game330/.ssh/known_hosts to get rid of this mes sage.
Offending RSA key in /c/Users/Game330/.ssh/known_hosts:1
RSA host key for [wesocular.com]:60504 has changed and you have requested strict checking.有什么问题吗?
发布于 2018-02-13 13:18:45
如果您读取错误消息,您将看到原因:The RSA host key for [wesocular.com]:60504 has changed, and the key for the corresponding IP address [46.105.40.12]:60504 is unknown.
然后是如何修复它的解决方案:Add correct host key in /c/Users/Game330/.ssh/known_hosts to get rid of this message. Offending RSA key in /c/Users/Game330/.ssh/known_hosts:1
因此,您可以删除/c/Users/Game330/.ssh/known_hosts文件中第1行中的键,并再次尝试通过SSH登录。
https://serverfault.com/questions/897041
复制相似问题