我一直在扫描网络/ SO,并阅读了多个权限被拒绝请求帮助我只是无法找到一个以我理解的方式解决我的问题。.ssh/id_rsa失败:权限被拒绝
我遵循这些说明(Getting Started with Python on Heroku/Cedar)。一切都没事,直到:
[email protected]:~/helloflask$ source venv/bin/activate
(venv)[email protected]:~/helloflask$ git push heroku master
The authenticity of host 'heroku.com (50.19.85.132)' can't be established.
RSA key fingerprint is ##:##:##:##:##:##:##:##:##:##:##:## (I replaced with #)
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/home/drewverlee/.ssh/known_hosts).
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
(不知道安全的,所以我换成(#)键)
我想可能是因为
drwx------ 2 root root 1024 2012-03-08 21:26 .ssh
因为
[email protected]:~$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/drewverlee/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
open /home/drewverlee/.ssh/id_rsa failed: Permission denied.
Saving the key failed: /home/drewverlee/.ssh/id_rsa.
作为一个在这些问题上经验不多的人,我不确定如何撤销我已经安全完成的任务我正在干涉强大的工具。有关这里发生了什么的任何建议? 让我知道是否需要包含更多信息来解决问题。
@CIRCLE对我来说看起来不是一个好主意 – Phoenix87 2017-07-22 11:48:57