2012-06-03 17 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> 

Perché continuo ad avere questo errore? Cosa dovrei fare? E non mi danno un segno meno, perché ho già guardatoHeroku Git - fatale: il terminale remoto riattaccato in modo imprevisto

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

e mi dà

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> 

e ho anche provato

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

io don, t sapere cosa fare ....

+0

la mia risposta ha risolto il problema? – danihp

risposta

28

Sembra s un problema con le tue chiavi. Forse è necessario caricare la chiave corrente per lui Heroku

heroku keys:add 

la scheda a "Gestione delle chiavi SSH": https://devcenter.heroku.com/articles/keys

+2

omgg ha funzionato! grazie! ho provato a risolvere questo problema per almeno due ore. Ho provato a reinstallare git e heroku toolbelt ea fare di nuovo il login di heroku ... non so perché non avrebbe potuto funzionare. –

0

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

In questo link, ho avuto lo stesso problema e la procedura che segue funzionato per me:

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

Se si chiede per qualsiasi passphrase non utilizzare vuoto, riempire con una passphrase, ma non dimenticate che.

->heroku keys:add "id_rsa.pub" 

Cambiare la directory di lavoro, quindi

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

Utilizzare la passphrase che hai impostato in precedenza.

Problemi correlati