Redmi AX6000 SSH登录报错
ssh登录的时候如果报下面的错误:
****no matching host key type found. Their offer: ssh-rsa****
是因为OpenSSH 7.0以后的版本不再支持ssh-rsa (RSA)算法, 解决方法是手动加上
# vi ~/.ssh/config
Host redmi
HostName 192.168.31.1
User root
Port 22
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
或者
# ssh -oHostKeyAlgorithms=+ssh-rsa root@192.168.x.x
文章作者: Payne Fu