Unable to push git repo to Heroku, despite valid SSH keys

后端 未结 4 1759
花落未央
花落未央 2021-02-03 13:44

There are lots of stack articles citing the same error message as I am getting.

I went through the entire heroku setup doc on another computer and everything worked perf

4条回答
  •  广开言路
    2021-02-03 14:17

    Depending on your setup. you might have a config file in your ~/.ssh/ directory that sets which file to be used as public key to use when pushing to heruko.

    example (~/.ssh/config):

    Host 127.0.0.1 #Use Heroku's IP
    IdentityFile ~/.ssh/use_this_key
    

    So if that is the case, then change the settings in the ~/.ssh/config file

    Cheers

提交回复
热议问题