I tried to follow the instruction on https://openwrt.org/toh/xiaomi/ax3600#tab__javascript_method
Currently running the 1.0.17 ROM
when using the javascript method is does prompt for a password, I put in my password the console is outputting "undefined". all the console.log seems to be suppressed.
When trying to ssh
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 tried with safari, firebox and brave browser all exhibit the same behavior
The problem is not really your procedure, that part worked - it's the interoperability between the ancient sshd in the OEM firmware, not capable of modern ciphers - and your modern ssh clients, disabling old/ insecure ciphers for security reasons.
Might be a good started, you may have to experiment further (and e.g. on Debian, you might have to install legacy support explicitly, e.g. via openssh-client-ssh1)
EDIT: Btw, a lazy way out would be booting (e.g. in a VM or from a USB stick) a linux live system from 8-10 years ago, which had all those ciphers still enabled.