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

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

    Had the same issue and wasted hours, I'm using centos 7. The following solved my problem.

    On linux:

    1. "cd /home/your_username/.ssh"
    2. View "id_rsa.pub" and copy contents
    3. On openshift create a key from the UI and paste the contents from your "*.pub" file
    4. Save your new key
    5. Try reconnecting from your local machine

    Hope the above helps. Note, on mac it worked from the word go only linux game me errors.

提交回复
热议问题