Skip to content

SSH connection closed

See SSH connection closed - resolved

Solution:

Apparently, the SSH keys (/etc/ssh/ssh*key) on the Raspberry were all of zero size for some reason. To fix that I had to run the following commands from the terminal:

sudo rm -r /etc/ssh/ssh*key
sudo dpkg-reconfigure openssh-server

After the system regenerated the SSH keys I was able to connect via successfully.