我试图把我的项目推到我的位桶上,已经在这上面花了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
我在一台 Mac 电脑上跑10.8秒。
所以取得了一点进展,最初没有。Ssh 文件夹,所以我在开始的时候用这种方式创建,没有 known _ hosts 文件,所以我运行
ssh -T git@bitbucket.org
我选择 yes,这样就创建了一个 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。