IOS解决 ssh密钥出错

Warning: Permanently added 'git.oschina.net' (ECDSA) to the list of known hosts. Authentication fail

因为ssh 连接服务器很慢

每次都报warning :Warning: Permanently added (RSA) to the list of known hosts.

解决:检查以前做的同步 .ssh/authorized_keys ,可以删除试下

ssh-keygen

重新操作一遍,就行了

你可能感兴趣的:(IOS解决 ssh密钥出错)