困惑.请看下面
$ git push heroku master
Could not create directory '/c/Users/Dipak/Git/.ssh'.
The authenticity of host 'heroku.com (50.19.85.156)' can't be established.
RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/c/Users/Dipak/Git/.ssh/known_hosts).
Permission denied (publickey).
fatal: Could not read from remote repository.
Run Code Online (Sandbox Code Playgroud)
任何想法如何解决问题?
您似乎没有将公钥上传到Heroku,请在推送之前尝试以下操作:
heroku keys:add ~/.ssh/id_rsa.pub
Run Code Online (Sandbox Code Playgroud)
请注意,这id_rsa.pub是您的公钥,在您的计算机中,它的名称可能不同.
| 归档时间: |
|
| 查看次数: |
752 次 |
| 最近记录: |