Add the -oHostKeyAlgorithms=+ssh-rsa option to to the login command.
-oHostKeyAlgorithms=+ssh-rsa
askubuntu.com/a/836064