Friday, October 7, 2016

"Network error: Software caused connection abort"



I had the same issue, which was caused by incorrectly generated SSH keys (during first boot). Check this by opening a terminal and going into the /etc/ssh directory. You will see a bunch of files, 6 of them looking like 'ssh_host_###_key'. If these are 0 bytes in size, you are affected by this as well. Follow these steps to fix the issue:

First, remove the old keys:
Code:
rm /etc/ssh/ssh_host_*_key*

Now generate new ones. The command will ask you to set a passphrase or press enter to continue. Do not set a passphrase!
Code:
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
Code:
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
Code:
ssh-keygen -t ecdsa -f /etc/ssh_host_ecdsa_key

Restart your SSH service (or reboot). You can now log in again.

Code:
service ssh restart
FIND