Heroku Git - 致命:远端意外挂断 [英] Heroku Git - fatal: The remote end hung up unexpectedly

查看:486
本文介绍了Heroku Git - 致命:远端意外挂断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  Microsoft Windows [版本6.1.7600] 
版权所有(c)2009 Microsoft Corporation。版权所有。

E:\ Windows \ system32> heroku login
输入您的Heroku证书。
电子邮件:mymail@yahoo.com
密码(打字将被隐藏):
找到现有公钥:E:/Users/Stewie/.ssh/id_rsa.pub
上传SSH公钥E:/Users/Stewie/.ssh/id_rsa.pub ...失败
!指纹已经存在。请使用Heroku帐户中的一个SSH密钥

E:\ Windows \ system32> git clone git@heroku.com:sharp-winter-5732.git -o heroku
克隆到' sharp-winter-5732'...

!带有指纹的钥匙f2:a2:f9:4a:c4:16:5b:f1:5a:21:cb:d8:c4:d2:18:ef是
没有权限访问sharp-winter-5732。

致命:远程端意外挂起

E:\ Windows \ system32>

为什么我一直有这个错误?我该怎么办?并且不要给我一个减号,因为我已经看过了

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



并且给我

p>

  E:\ Windows \ system32> git config --global user.nameStewie

E:\ Windows \ system32> git config --global user.emailmymail@yahoo.com

E:\ Windows \ system32> git config - 全局凭证。帮助缓存
警告:credential.helper具有多个值
错误:无法用单一值覆盖多个值
使用正则表达式,--add或--replace-all更改credential.helper。

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


E:\ Windows \system32> git克隆git@heroku.com:sharp-winter-5732.git -o heroku
克隆到'sharp-winter-5732'...

!带有指纹的钥匙f2:a2:f9:4a:c4:16:5b:f1:5a:21:cb:d8:c4:d2:18:ef是
没有权限访问sharp-winter-5732。

致命:远程端意外挂起

E:\ Windows \ system32>

我也尝试了



我不知道该怎么做....

解决方案

你的密钥似乎有问题。也许你需要上传你的当前密钥给他heroku

  heroku keys:add 

管理您的SSH密钥详情: https://devcenter.heroku.com/articles/keys


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

E:\Windows\system32>heroku login
Enter your Heroku credentials.
Email: mymail@yahoo.com
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 git@heroku.com: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 "mymail@yahoo.com"

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 git@heroku.com: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 ....

解决方案

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

这篇关于Heroku Git - 致命:远端意外挂断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆