2012-06-03 10 views
14
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> 

¿Por qué sigo teniendo este error? ¿Que debería hacer? Y no me des un menos, porque ya mirabaHeroku Git - fatal: el extremo remoto colgó inesperadamente

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

y me da

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> 

y también intenté

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

i don, t saber qué hacer ...

+0

¿mi respuesta ha solucionado su problema? – danihp

Respuesta

28

Parece es un problema con tus llaves Tal vez usted necesita para subir su clave actual a él heroku

heroku keys:add 

detalles en "Administración de claves SSH": https://devcenter.heroku.com/articles/keys

+2

omgg esto funcionó! ¡gracias! estado tratando de arreglar esto durante al menos dos horas. intenté volver a instalar git y heroku toolbelt y volver a hacer heroku de nuevo ... no sé por qué eso no pudo haber funcionado. –

0

Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

En este enlace, que tenían el mismo problema y los pasos trabajado para mí:

->heroku login 
     [email protected] & password 
    ->cd C:\Users\yourusername\.ssh 
    ->ssh-keygen -t rsa -f id_rsa 

Si se pide ninguna contraseña no utilice en blanco, relleno con una frase de contraseña, pero no se olvide de ella.

->heroku keys:add "id_rsa.pub" 

Cambia al directorio espacio de trabajo, entonces

->git clone [email protected]:stark-dawn-1234.git -o heroku 

Utilice la frase de contraseña que ha configurado anteriormente.

Cuestiones relacionadas