首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >连接被拒绝,我无法进入我的服务器

连接被拒绝,我无法进入我的服务器
EN

Server Fault用户
提问于 2018-02-13 13:15:25
回答 1查看 692关注 0票数 0

我不确定我的网站是否被黑客入侵,或者有一个与服务器相关的错误。我的网站运行良好,自从我发表了它,昨天我访问了它,它说,连接拒绝。我通知了我的主机提供商,他们告诉我要创建一个新的数据库连接,当我打开phpMyAdmin时,我收到一个奇怪的错误,上面写着:

代码语言:javascript
复制
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插入我的服务器时,我会得到以下错误:

代码语言:javascript
复制
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       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.

有什么问题吗?

EN

回答 1

Server Fault用户

发布于 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登录。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/897041

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档