Permission denied (publickey,gssapi-keyex,gssapi-with-mic) on openshift

前端 未结 11 1127
既然无缘
既然无缘 2021-02-03 23:52

I am having issues with committing changes to my gear. I have tried to run rhc setup, I also deleted my .ssh folder and executed rhc setup again but that also didnt work.

11条回答
  •  温柔的废话
    2021-02-04 00:01

    what worked for me was to generate the keys using Git Bash

    ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
    

    and then add the key to ssh-agent as described here

    https://help.github.com/articles/generating-a-new-ssh-key/

提交回复
热议问题