Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku Git - fatal: The remote end hung up unexpectedly

Tags:

git

github

ssh

rsa

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

E:\Windows\system32>heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden):
Found existing public key: E:/Users/Stewie/.ssh/id_rsa.pub
Uploading SSH public key E:/Users/Stewie/.ssh/id_rsa.pub... failed
 !    Fingerprint already exists. Please use one SSH key per Heroku account

E:\Windows\system32>git clone [email protected]:sharp-winter-5732.git -o heroku
Cloning into 'sharp-winter-5732'...

 !  Your key with fingerprint f2:a2:f9:4a:c4:16:5b:f1:5a:21:cb:d8:c4:d2:18:ef is
 not authorized to access sharp-winter-5732.

fatal: The remote end hung up unexpectedly

E:\Windows\system32>

Why i am keep having this error? What should i do? And don't give me a minus, because i already looked at

https://help.github.com/articles/set-up-git

and gives me

E:\Windows\system32>git config --global user.name "Stewie"

E:\Windows\system32>git config --global user.email "[email protected]"

E:\Windows\system32>git config --global credential.helper cache
warning: credential.helper has multiple values
error: cannot overwrite multiple values with a single value
Use a regexp, --add or --replace-all to change credential.helper.

E:\Windows\system32>git config --global credential.helper 'cache --timeout=3600'


E:\Windows\system32>git clone [email protected]:sharp-winter-5732.git -o heroku
Cloning into 'sharp-winter-5732'...

!  Your key with fingerprint f2:a2:f9:4a:c4:16:5b:f1:5a:21:cb:d8:c4:d2:18:ef is
not authorized to access sharp-winter-5732.

fatal: The remote end hung up unexpectedly

E:\Windows\system32>

and i also tried

GitHub: Permission denied (publickey). fatal: The remote end hung up unexpectedly

i don,t know what to do ....

like image 769
Master345 Avatar asked Jun 03 '12 18:06

Master345


People also ask

How do you solve fatal the remote end hung up unexpectedly?

Solution. To solve the issue, change the settings of your buffer so that you have enough space available. You can increase the buffer value up to 2000000000.

Can I git pull from Heroku?

Also note that Heroku should not be considered a git hosting. It means that it's extremely uncommon to perform a git pull from Heroku. Instead, you should use a git hosting (such as GitHub or BitBucket) to store your repository and only perform push to Heroku to deploy the application.


1 Answers

It seems a problem with your keys. Perhaps you need to upload your current key to he heroku

heroku keys:add

Details at "Managing Your SSH Keys": https://devcenter.heroku.com/articles/keys

like image 57
dani herrera Avatar answered Sep 19 '22 16:09

dani herrera