Hi,
I'm currently running my Pi through a serial connection but I would like to use SSH instead but I'm having problems.
When I try to connect with SSH i get "Read from socket failed: Connection reset by peer" when connecting with cygwin ("ssh [email protected]" / "ssh 192.168.1.140") or "Network error: Software caused connection abort" when trying with PuTTy.
Using "ssh -v 192.168.1.140" in Cygwin gives the following log:
$ ssh -v 192.168.1.140
OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 192.168.1.140 [192.168.1.140] port 22.
debug1: Connection established.
debug1: identity file /home/test/.ssh/id_rsa type -1
debug1: identity file /home/test/.ssh/id_rsa-cert type -1
debug1: identity file /home/test/.ssh/id_dsa type -1
debug1: identity file /home/test/.ssh/id_dsa-cert type -1
debug1: identity file /home/test/.ssh/id_ecdsa type -1
debug1: identity file /home/test/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-2
debug1: match: OpenSSH_6.0p1 Debian-2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.0
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
I've tried SSH'ing locally (ssh 127.0.0.1) on the Pi, that gives the same result.
Additionally:
[email protected]:~$ sudo service ssh status
sshd is running.
Network connection is fine, I can also ping the Pi successfully from my main computer.
Any clue what my problem could be?
Thanks in advance!