Connection reset by peer

Please follow the below template, it will help us to help you!

Expected Behaviour:

Traying to connect by ssh fail, some with browser.

Actual Behaviour:

In terminal have this answer.
ssh_exchange_identification: read: Connection reset by peer

Debug Token:

Can't connect to pi.hole neither with terminal or browser.
$ nslookup pi.hole
Server: 192.168.x.xx
Address: 192.168.x.xx#53
that is address of pi.hole, dont know what is #53
ping is passing.
traceroute to 192.168.x.xx (192.168.x.xx), 30 hops max, 60 byte packets
1 orangepizero (192.168.x.xx) 0.514 ms 0.512 ms 0.549 ms
so it means pi.hole is running.
Any hint before pull the plug.:confused:
p.s. nano pi neo2 is mild temp

Try adding the -vv flag to ssh to see more info about why it is failing.

yoss@fury ~ $ ssh .vv 192.168.x.xx
ssh: Could not resolve hostname .vv: Name or service not known
yoss@fury ~ $ ssh -vv 192.168.x.xx
OpenSSH_7.2p2 Ubuntu-4ubuntu2.6, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "192.168.x.xx" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.5.55 [192.168.x.xx] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/yoss/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.6
ssh_exchange_identification: read: Connection reset by peer

Pi-hole should not be affecting that process, so try restarting the system.

pi.hole puling the plug or my system?

Force-restart the Pi-hole by whatever you need to do (such as pulling the plug).

OK I pulled the plug :slight_smile: and it's working again. Must say one thing, before this only thing I changed is disabling DHCP server on my router.
It probably is unrelated. I don't know how dangerous for OS system is pulling the plug.
Thank you.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.