Having trouble with ssh into my GL-AR750S

I have tried to SSH into my router from my Linux laptop such at ‘ssh root@’ but I receive the error:
Unable to negotiate with port 22: no matching host key type found. Their offer: ssh-rsa

I tired the following but received the same error:
ssh -oHostKeyAlgorithms=+ssh-rsa -p 22 root@

I added the following line to /etc/ssh/ssh_config but still received the same error:
HostKeyAlgorithms ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa

Any suggestions on what I can do next to ssh into the router? I have updated to latest firmware

I solved it by adding


to /etc/ssh/ssh_config