Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 部署 heroku 代码时权限被拒绝(公钥)。致命:远端意外挂断
尝试将项目更新推送到heroku并获得
权限被拒绝(公钥)。
我之前已经推过了。
将本地密钥上传到heroku。
个人本地密钥在~/.ssh或如果没有,它们可以生成ssh-keygen
~/.ssh
ssh-keygen
heroku keys:add ~/.ssh/id_rsa.pub从应用程序根目录执行的答案。
heroku keys:add ~/.ssh/id_rsa.pub