How to fix «Unable to negotiate with <…> port <…>: no matching host key type found. Their offer: ssh-rsa,ssh-dss»

2023-07-07--06-46-06

Add the -oHostKeyAlgorithms=+ssh-rsa option to to the login command.

askubuntu.com/a/836064