Hi, I am following the official guide to install OpenWRT and I have successfully flashed the required stock firmware version in order to proceed. Then I have chosen the JavaScript method:
and a window popup appeared asking for a password, I typed a password (lowercase 8 letters) and then I opened the terminal on my Fedora laptop to SSH into the router. However I continue to get the error when I write ssh root@192.168.31.1
Unable to negotiate with 192.168.31.1 port 22: no matching host key type found. Their offer: ssh-rsa
I looked at the internet I tried this command:
ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.31.1
which did not work.
So I added the /~/.shh/config file and wrote inside:
Host 192.168.31.1
User root
HostKeyAlgorithms=+ssh-rsa
it did not work aswell.
How can I SSH into my router? Is this error happening because of the JavaScipt method? should I try the other 3?