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

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

    if you are using Windows, you can try the following steps:

    1. look for your ssh public key usually you can find it at c:\\users\\YOUR_USERNAME\\.ssh

    2. copy your openshift public key to your git's ssh-key folder

      suppose we have git in d:\\git

      then we need to copy the public key from c:\\users\\YOUR_USERNAME\\.ssh to d:\\git\\.ssh

    3. try if it works

提交回复
热议问题