【发布时间】:2014-11-25 05:02:54
【问题描述】:
最近,我在使用 Capistrano 部署 Rails 应用程序时遇到了问题:
Permission denied (publickey).
DEBUG[4a3de544] fatal: Could not read from remote repository.
我可以推送到我的远程存储库,但是当我运行命令时:
ssh -vvv git@github.com
我在输出中看到此错误消息:
Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/Users/username/.ssh/id_rsa" as a RSA1 public key
有谁知道如何解决这个问题?
感谢您的帮助,
安东尼
【问题讨论】:
-
用户/用户名/.ssh 中有密钥吗?
-
@NickM,是的,我有 id_rsa 和 id_rsa.pub 密钥。我还可以在我的生产服务器中执行无密码 ssh。
标签: ruby-on-rails github capistrano