ruby-on-rails – git push heroku master错误权限被拒绝(public
发布时间:2020-12-17 04:01:05 所属栏目:百科 来源:网络整理
导读:参见英文答案 Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly????????????????????????????????????34个 我是heroku的新手,我不能推动我的rails项目. 我可以成功登录到heroku,我有钥匙 Keys ssh-rs
参见英文答案 >
Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly????????????????????????????????????34个
我是heroku的新手,我不能推动我的rails项目. 我可以成功登录到heroku,我有钥匙 Keys ssh-rsa AAAAB3NzaC...oPiDGoh0Gt root@Slava-System-Product-Name 但是当我git推送heroku master我收到了 Permission denied (publickey). fatal: The remote end hung up unexpectedly 解决方法
heroku keys:add ~/.ssh/id_rsa.pub https://devcenter.heroku.com/articles/keys 更新,来自以下博客post的解决方案有效. >创建一个新的公钥 ssh-keygen -t rsa heroku密钥:添加/root/.ssh/id_rsa.pub (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |