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

前端 未结 11 1153
既然无缘
既然无缘 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:00

    I had Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
    when cloning with git clone ssh://<>.

    App was created with Openshift's website, not with rhc app create.
    My SSH key was ok, reimporting it to Openshift didn't help, nor did expiring sessions, and so on.
    I didn't want to generate a new key.

    What finally worked was using:
    rhc git-clone -a > instead of bare git clone <>.
    You may have to expire sessions as well.

提交回复
热议问题