更新SourceTree后提示:no matching host key type found. Their offer: ssh-rsa,ssh-dss
原因是OpenSSH 8.8/8.8p1 (2021-09-26)及以后版本不再支持ssh-rsa算法
推荐使用: ssh-ed25519
查看OpenSSH版本:ssh -V
OpenSSH 版本说明:https://www.openssh.com/releasenotes.html
客户端 解决方法: 修改~/.ssh/config
文件,添加或修改配置项
Host *
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa