Whenever I tried to connect to some (most) hosts via SSH, I got this error:
|
|
The solution for this is actually very simple. Use your favourite editor (I use VIM) and edit the file located at /etc/ssh/ssh_config
. For the sake of time and sanity, use sudo
, as it’s a read-only file.
|
|
At the end of the Host *
section add the following line:
HostKeyAlgorithms +ssh-rsa,ssh-dss
Save the file and re-try to connect over SSH.