0

我正在开发一个简单的 Rails 项目,并希望将其部署在 heroku 上只是为了进行测试,我是 heroku 的新手,并引用了https://devcenter.heroku.com/articles/getting-started-with-rails4用于部署我的项目的 URL,一切正常,但是当我尝试使用此命令将我的项目推送到 heroku 上时git push heroku master它引发了一个错误,说

!  Your key with fingerprint 83:72:44:8c:67:69:5f:85:34:43:95:2d:a5:6d:54:ac is not authorized to access secret-fjord-7315.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.  

我已经使用命令创建了 ssh 密钥$ ssh-keygen -t rsa
我做错了什么请建议我该怎么做?提前致谢。我正在使用 rails 4 和 ruby​​ 1.9.3

4

1 回答 1

0

尝试使用heroku 帐户,它会为您设置 ssh 密钥(使用 auto 选项)。你在做什么很重要,所以看看这里。希望能帮助到你。

于 2013-10-03T22:22:24.963 回答