测试型号为 小米路由器Pro R3P

更新固件为开发者版本

Rom下载地址:http://www1.miwifi.com/miwifi_download.html

后台手动升级

安装ssh工具包

ssh工具包下载地址:https://d.miwifi.com/rom/ssh

需要登录小米帐号,会有root密码,页面有安装步骤

问题1

Unable to negotiate with 10.11.1.8 port 22: no matching key exchange method found. 
Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

解决

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 root@192.168.31.1

问题2

Unable to negotiate with 192.168.31.1 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss

解决

指定算法

ssh -o HostKeyAlgorithms=+ssh-rsa -oKexAlgorithms=+diffie-hellman-group1-sha1 root@192.168.31.1