Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git push heroku主机获取以下错误_Heroku_Heroku Toolbelt - Fatal编程技术网

git push heroku主机获取以下错误

git push heroku主机获取以下错误,heroku,heroku-toolbelt,Heroku,Heroku Toolbelt,我正试图使用以下命令行将代码部署到heroku: $ git push heroku master Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 您需要添加密钥 heroku keys:add

我正试图使用以下命令行将代码部署到heroku:

 $ git push heroku master
    Permission denied (publickey).
    fatal: Could not read from remote repository.

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

您需要添加密钥

 heroku keys:add ~/.ssh/id_rsa.pub

请参见:

您是否设置了ssh密钥?它适用于其他应用程序吗?签出:是,当键入$heroku keys时,我看到两个keys==kambleshankar1987@gmail.com密钥ssh rsa AAAAB3NzaC…43gqIWww==dinesh@VI-2011年,ssh rsa AAAAB3NzaC…Ixe5FDKw==dinesh@VI-L011 heroku信息怎么样?heroku信息===fast-tundra-1128 Git URL:git@heroku.com:fast-tundra-1128.git所有者电子邮件:kambleshankar1987@gmail.com地区:美国Stack:cedar Tier:Legacy Web URL:你能试试git pull吗