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

前端 未结 11 1122
既然无缘
既然无缘 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-03 23:58

    I fixed the problem by setting up proxy for ssh: ~/.ssh/config

    ProxyCommand /bin/connect.exe -H proxy:8080 %h %p
    
    Host rhcloud.com
    User myemailasrhclogin@gmail.com
    Port 22
    Hostname rhcloud.com
    IdentityFile "C:\users\username\.ssh\id_rsa"
    TCPKeepAlive yes
    IdentitiesOnly yes
    

    SSH in git behind proxy on windows 7

    My initial mistake was to use appname.rhcloud.com as Host or Hostname. And yes, adding your public key to OpenShift is also necessary.

提交回复
热议问题