引用“坚慧”的答案:

 ~/.ssh/config 增加一行:

PubkeyAcceptedKeyTypes ssh-dss