git clone heroku ssh permission denied

前端 未结 6 1971
南旧
南旧 2020-12-31 04:29

I just bought a new computer and I am trying to clone my heroku project on it.

Here\'s what I\'ve done so far. I didn\'t include the trace, but everything was saved

6条回答
  •  不思量自难忘°
    2020-12-31 05:20

    >> sudo ssh-keygen
    

    NO. Drop the sudo. That will create keys for the root user, not your user. Well unless of course for some strange reason you want to use root. But then you need to prefix all related commands that are going to use this key with sudo.

提交回复
热议问题