2015-11-13 65 views
0

所以我已經試過所有我能找到和IM panicing所以請幫助 當我做了新的Heroku我的應用程序創建genirates罰款 然後我去混帳推Heroku的主人。 我得到錯誤Heroku權限被拒絕。致命:無法從遠程存儲庫讀取。

Jacks-MacBook-Air:morph jacksharville $ git push heroku master 權限被拒絕(publickey)。 致命:無法從遠程存儲庫讀取。

請確保您擁有正確的訪問權限 並存在存儲庫。

我已經試過使用heroku鍵清除密鑰:清除 然後我嘗試運行heroku鍵:add 它仍然出現相同的錯誤。

如果我運行ssh -vT [email protected] 這是如果你做heroku auth:login,然後用您的憑據登錄會發生什麼輸出

Jacks-MacBook-Air:morph jacksharville$ ssh -vT [email protected] 
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 

回答

0

? 你還會得到同樣的錯誤嗎?

+0

同樣的錯誤。林挑釁登錄。我沒有做一遍,以確保但它再次發生。 – Morphasis

0

沒有辦法解決這個問題。我最終解決這個問題的方式是創建一個新應用並拖放資產。

相關問題