【发布时间】:2013-05-19 06:08:11
【问题描述】:
几周前我不得不从 github 恢复我的 master 分支,从那以后我收到一条错误消息,指出“您的带指纹的密钥...无权访问我的应用程序。”
我查看了此问题的先前答案并尝试删除旧密钥对,创建一个新密钥对并上传它。
我使用了以下帖子,但仍然遇到同样的错误:
Why is my key w/ fingerprint not authorized when I try to push latest changes to Heroku?
Cannot push to Heroku because key fingerprint
当我运行 ssh -Tv git@heroku.com 时,终端输出以下内容:
OpenSSH_5.9p1,OpenSSL 0.9.8r 2011 年 2 月 8 日
debug1:读取配置数据 /Users/username/.ssh/config
debug1:读取配置数据 /etc/ssh_config
debug1:/etc/ssh_config 第 20 行:为 *
应用选项 debug1:连接到 heroku.com [50.19.85.154] 端口 22。
debug1:已建立连接。
debug1:身份文件 /Users/anthonyfrancavilla/.ssh/id_rsa 类型 1
debug1:身份文件 /Users/anthonyfrancavilla/.ssh/id_rsa-cert type -1
debug1:身份文件 /Users/anthonyfrancavilla/.ssh/id_dsa 类型 -1
debug1:身份文件 /Users/anthonyfrancavilla/.ssh/id_dsa-cert type -1
debug1:远程协议版本 2.0,远程软件版本 Twisted
debug1:不匹配:Twisted
debug1:为协议 2.0 启用兼容模式
debug1:本地版本字符串 SSH-2.0-OpenSSH_5.9
调试 1:已发送 SSH2_MSG_KEXINIT
调试 1:收到 SSH2_MSG_KEXINIT
debug1: kex: server->client aes128-ctr hmac-md5 none
调试1:kex:客户端->服务器aes128-ctr hmac-md5无
debug1:发送 SSH2_MSG_KEXDH_INIT
debug1:期待 SSH2_MSG_KEXDH_REPLY
debug1:服务器主机密钥:RSA [rsa 密钥已编辑]
debug1:主机 'heroku.com' 已知且与 RSA 主机密钥匹配。
debug1:在 /Users/anthonyfrancavilla/.ssh/known_hosts:1 中找到密钥
debug1:ssh_rsa_verify:签名正确
debug1:SSH2_MSG_NEWKEYS 已发送
debug1:期待 SSH2_MSG_NEWKEYS
debug1:收到 SSH2_MSG_NEWKEYS
debug1:服务器不允许漫游
调试 1:已发送 SSH2_MSG_SERVICE_REQUEST
调试 1:收到 SSH2_MSG_SERVICE_ACCEPT
debug1:可以继续的身份验证:publickey
debug1:下一个认证方法:publickey
debug1:提供 RSA 公钥:/Users/anthonyfrancavilla/.ssh/id_rsa_heroku
debug1:服务器接受密钥:pkalg ssh-rsa blen 279
debug1:身份验证成功(公钥)。
已通过 heroku.com ([50.19.85.154]:22) 的身份验证。
调试 1:通道 0:新的 [客户端会话]
debug1:进入交互式会话。
debug1:发送环境。
debug1:发送 env LANG = en_US.UTF-8
通道 0 上的 shell 请求失败
【问题讨论】: