# vim ~/.ssh/config, add the lines at the beginning Host ****** PubkeyAcceptedKeyTypes=+ssh-rsa HostKeyAlgorithms=+ssh-rsa