Monday, February 12, 2018

Connection refused, I can’t ssh into my server - development

Connection refused, I can’t ssh into my server

I’m not sure if my site was hacked or there’s a server related error.
My website was running fine ever since I published it, yesterday I visited it and it said connection refused.
I informed my hosting provider and they told me to create a new database connection, when I open phpMyAdmin I get a strange error that says:

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)*

When I try to ssh into my server I get the following errors:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       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.

What could be the problem ?



from Laravel Questions and Answers https://laravelquestions.com/php/connection-refused-i-cant-ssh-into-my-server/
via Lzo Media

No comments:

Post a Comment