ssh_exchange_identification connection reset by peer
Hi
For some strange reason I cant login to my server from home, I used to login from my work to my server and it only allows me to login from work and if I try to use SSH from home I get this error: ssh_exchange_identification connection reset by peer debug1: identity file /home/root/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory Any idea why this is? |
Which version of sshd are you running on your server?
And which version of the SSH client are you using from home and which type from work? |
Quote:
|
Quote:
I am using Putty client on my laptop which is the same laptop i use to connect from my work. I am not logging in as root, I am trying to login as a normal user but it would not let me connect at all.. i cant even get to the username prompt. When I connect my laptop at work then use SSH i can connect to my server.. not sure why that is. |
PuTTY is a graphical client. Can you open a terminal and use OpenSSH's own SSH client?
Code:
ssh -v nibraz@server.example.com |
Quote:
Code:
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 |
my work ip address changed, now i cant even connect using putty :(
|
got this with -vv
debug1: permanently_set_uid: 0/0 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.3p1 Debian-1 ssh_exchange_identification: read: Connection reset by peer |
I can login as normal user with ftp no encrption but when i try root i am getting "can't login as root account disabled" i cant seem to do anything..
|
Quote:
However, if you have non-Anonymous FTP available then your machine will eventually become compromised. Maybe it has already happened. |
I was able to login earlier using root login after 17:00 i am not able to login to SSH at all now its saying "Network Error: Software caused connection abort"
I cant SSH at all now, wont let me in. I can only use FTP as normal user with no encrption. But the user im login as no root permissions to modify any files.. |
Quote:
Anyway, back to SSH, what text is produced when you connect to the SSH port using the telnet client? Code:
telnet server.example.com 22 |
im getting
Trying xx.xx.xx.xx.. Connected to mysite.com. Escape character is '^]'. Connection closed by foreign host. |
Quote:
When will you next be able to log in via the console? A physical visit or use of another server with a connected keyboard-video-moust switch might be necessary. |
Quote:
Thanks for keeping up with this. I am going to visit my server tomorrow after work at my dads house. Is there any logs or anything i need to grab? I dont think anyone hacked it, as my site is still up and running and its a social networking site. |
All times are GMT -5. The time now is 01:45 PM. |