Lava::Block avatar

Fix Raspbian SSH Error "Connection reset by peer"

thelavablock

Published: 03 Mar 2018 › Updated: 03 Mar 2018Fix Raspbian SSH Error "Connection reset by peer"

Fix Raspbian SSH Error "Connection reset by peer"

If you set up a fresh Raspberry Pi with Raspbian and you can't connect with ssh due to:

ssh pi@192.168.1.3
Read from socket failed: Connection reset by peer



Solution: Log in on your Pi. Delete and regenerate ssh server keys:

sudo rm /etc/ssh/ssh_host_* 
sudo dpkg-reconfigure openssh-server 
 

Source: Raspberry Pi Forums

Leave Fix Raspbian SSH Error "Connection reset by peer" to:

Written by

Next-Gen Graphics Solutions

Read more #raspberrypi posts


Best Posts From Lava::Block

We have not curated any of thelavablock's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Lava::Block