2017-10-21 384 views
0

我已经使用命令ssh keygen创建了ssh密钥,并且我已经将公钥添加到了我的bitbucket帐户,然后我也向ssh代理添加了密钥,但是当我试图使用sourceTree从bitbucket中克隆repo,我得到下面的错误。没有支持的身份验证方法可用(服务器发送:publickey)

Error: FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey) 
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 

我知道这是重复的问题,但这些解决方案没有为我工作,所以请帮助。

回答

0

其实它是我的错误, 在我的SourceTree设置中,SSH客户端类型被设置为PuTTY/Plink,所以我将其更改为openSSH,现在该问题不再存在。 对不起&谢谢。