try solution from this topic: ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.31.1
ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.31.1