我试图将我的项目推到我的位桶中,在无数问题解决/页面/疑难解答/教程中倾注了约4天。我很茫然,非常沮丧。我之前已经做过,但是在不同的计算机上……无论如何,这是我得到的代码/响应
~/dev/sample_app git push -u origin --all
The authenticity of host 'bitbucket.org (131.103.20.168)' can't be established.
RSA key fingerprint is 81:7b:2c:f5:6f:18:2b:7c:4b:ec:aa:46:46:74:7c:40.
Are you sure you want to continue connecting (yes/no)?
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
~/dev/sample_app
我在运行10.8.4的Mac上。
因此已经取得了一些进展,最初没有.ssh文件夹,所以我在一开始就创建了这种方式,没有known_hosts文件,所以我运行了
ssh -T git@bitbucket.org
我选择是,这创建了一个known_hosts文件,当我再次尝试推送时,我得到了:
~/dev/sample_app git push -u origin --all
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我的.ssh文件夹是700,里面的键都是600。