不能推到bitbucket
我已多次重复以下过程:
ssh-keygen
eval ssh-agent
Agent pid is print
ssh-add ~/.ssh/id_rsa
我输入密码,然后看到短语“添加身份:...”
cat ~/.ssh/id_rsa.pub
我复制我的公共 SSH 并将其打印到 https://bitbucket.org/account/settings/ssh-keys/
ssh -T [email protected]
我看到此文本:
authenticated via ssh key.
You can use git to connect to Bitbucket. Shell access is disabled
但是,当我打印
git push -u origin master
时,我收到此消息:
The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
我做错了什么?怎么处理呢?
I have repeated following procedure for many times:
ssh-keygen
eval ssh-agent
Agent pid is printed
ssh-add ~/.ssh/id_rsa
I enter my passphrase, and I see phrase "Identity added: ..."
cat ~/.ssh/id_rsa.pub
I copy my public SSH and print it to https://bitbucket.org/account/settings/ssh-keys/
ssh -T [email protected]
I see this text:
authenticated via ssh key.
You can use git to connect to Bitbucket. Shell access is disabled
But then, when I print
git push -u origin master
I get this message:
The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.
What wrong am I doing & how to deal with it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
git push --set-upstream origin master
因为您的源不知道您要推送到的分支是否是master
。git push --set-upstream origin master
because your origin does not know if, the branch you're pushing to ismaster
or not.