4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Fix Raspbian SSH Error "Connection reset by peer"

https://lava-block.com/wp-content/uploads/2018/03/raspberry-pi-border.png

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

ssh [email protected]
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

1 upvotes $0.00

Replies (0)

Conversation

No replies yet

Replies will appear here as people join the conversation.

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: