open-ssh不再支持rsa的key,提示"no mutual signature algorithm"

换了新版Ubuntu后,发现ssh -T怎么都过不去,开启调试模式后,提示如下:

...
no mutual signature algorithm
...

搜了一圈,发现是RSA的key有漏洞,默认已经不支持了,建议换用ed25519:

ssh-keygen -t ed25519

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *