简体   繁体   English

Heroku权限被拒绝。 致命:无法从远程存储库读取。

[英]Heroku Permission denied. fatal: Could not read from remote repository.

So i have tried everything i can find and im panicing so please help When i do a fresh heroku create on my app it genirates fine then i go to git push heroku master. 所以我已经尝试了所有我能找到的并且让我感到恐慌的东西,所以请帮忙。当我在我的应用程序上执行一个新的heroku创建时,它生成的很好,然后我去git push heroku master。 I get the error 我得到错误

Jacks-MacBook-Air:morph jacksharville$ git push heroku master Permission denied (publickey). Jacks-MacBook-Air:morph jacksharville $ git push heroku master权限被拒绝(公钥)。 fatal: Could not read from remote repository. 致命:无法从远程存储库读取。

Please make sure you have the correct access rights and the repository exists. 请确保您具有正确的访问权限,并且存储库存在。

i have tried clear the keys with heroku keys:clear I have then tried running heroku keys:add It still comes up with the same error. 我试过用heroku keys:clear清除键,然后尝试运行heroku keys:add,它仍然出现相同的错误。

if i run ssh -vT git@heroku.com this is the output 如果我运行ssh -vT git@heroku.com,这是输出

Jacks-MacBook-Air:morph jacksharville$ ssh -vT git@heroku.com
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to heroku.com [50.19.85.154] port 22.
debug1: Connection established.
debug1: identity file /Users/jacksharville/.ssh/id_rsa type 1
debug1: identity file /Users/jacksharville/.ssh/id_rsa-cert type -1
debug1: identity file /Users/jacksharville/.ssh/id_dsa type -1
debug1: identity file /Users/jacksharville/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version endosome
debug1: no match: endosome
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug1: kex: client->server aes128-ctr hmac-sha1 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: RSA 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad
debug1: Host 'heroku.com' is known and matches the RSA host key.
debug1: Found key in /Users/jacksharville/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/jacksharville/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to heroku.com ([194.168.4.123]:53).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_GB.UTF-8
shell request failed on channel 0

What happens if you do heroku auth:login and then log in with your credentials? 如果您执行heroku auth:login ,然后使用您的凭据heroku auth:login怎么办? Do you still get the same error? 您是否仍然遇到相同的错误?

There is no way to fix this easily. 无法轻松解决此问题。 The way i ended up getting around it is creating a new app and dragging assets across. 我最终解决它的方法是创建一个新应用程序并拖动资产。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 git@github.com:权限被拒绝(公钥)。 致命:无法从远程存储库读取。 在云上 9 - git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. on cloud 9 Heroku:权限被拒绝(公钥)。 致命的:执行git push时无法从远程存储库读取 - Heroku: Permission denied (publickey). fatal: Could not read from remote repository when doing git push 权限被拒绝(公钥)。 严重的:无法从远程存储库读取 - Permission denied (publickey). fatal: Could not read from remote repository 捆绑安装失败“ ..似乎不是致命的git存储库:无法从远程存储库读取。” - bundle install fail “..does not appear to be a git repository fatal: Could not read from remote repository.” Heroku Create:无法从远程存储库读取 - Heroku Create: Could not read from remote repository Capistrano 3部署:致命:无法从远程存储库读取 - Capistrano 3 deploy: fatal: Could not read from remote repository Rails 4 + Capistrano 3:致命:部署时无法从远程存储库读取 - Rails 4 + Capistrano 3 : fatal: Could not read from remote repository while deploying 尝试安装 gem:公寓:致命:无法从远程存储库中读取 - Trying to install gem: apartment : Fatal: Could not read from remote repository 推送到Heroku时无法从远程存储库读取(Rails教程5) - Could not read from remote repository when pushing to Heroku (Rails Tutorial 5) 无法将应用程序部署到Heroku“无法从远程存储库读取” - Cannot deploy app to Heroku “Could not read from remote repository”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM