2014-01-23 105 views
0

我想用命令的Django项目推到Heroku的:推git的回购协议heorku

git push staging master 

和分期是指这个混帐配置:

[remote "staging"] 
    url = [email protected]:heorku-server.git 
    fetch = +refs/heads/*:refs/remotes/staging/* 

但我得到以下错误:

Permission denied (publickey). 
fatal: Could not read from remote repository. 

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

Fatal error: local() encountered an error (return code 128) while executing 'git push staging master' 

Aborting. 

我检查了git repo和heroku服务器,他们都有我的确切公钥。

感谢您的帮助!

回答

1

无法发表评论(这是什么回复应该是),没有足够的魔法互联网点。

您可能需要生成一组新的SSH密钥,但我会尝试的是在这个线程第一 - Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

这可难倒了我的复制粘贴的步骤在这里吧?

+0

感谢您的回答。我自己想出了这些确切的步骤。添加密钥工作了一天,然后我最终创建了一个新的密钥。 – user1909186

相关问题