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.
The following answer might be helpful. Add GSSAPIAuthentication no
into .ssh/config
$ cat .ssh/config
Host *
ServerAliveInterval 240
GSSAPIAuthentication no
Had the same issue and wasted hours, I'm using centos 7. The following solved my problem.
On linux:
Hope the above helps. Note, on mac it worked from the word go only linux game me errors.
I would also recommend trying to SSH in first. With SSH use the -vv flag to show more of the connection information. My guess is that SSH is trying to use a different key than what you uploaded to the server
Remove the keys: rhc sshkey-remove You can also delete them from the management console, by going to https://openshift.redhat.com/app/console/settings
Once done, upload the public key (copy the content of your id_rsa.pub to management console) : https://openshift.redhat.com/app/console/keys/new
Save it. After this try to git clone
and it should work for you.
if you are using Windows, you can try the following steps:
look for your ssh public key
usually you can find it at c:\\users\\YOUR_USERNAME\\.ssh
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
try if it works