I have problem with accessing SSH to Openshift. I still can push code to Openshift via Git. But when trying to SSH to Openshift, the server denied with error "no supported authentication methods available (server sent: public key, gssapi-keyex, gssapi-with-mic". I'm using Windows 7.
Do you know what's the problem and how to solve it?
This answer is for Linux users. If you have the same problem, disabling GSSAPI may help.
Edit your
~/.ssh/config
(user) or/etc/ssh/ssh_config
(system-wide) file to setGSSAPIAuthentication no
.Source: Speed up SSH logon by disabling GSSAPIAuthentication
I'm also using Windows 7 and I had the same problem.
I created ssh keys with rhc tool and then public key for putty (id_rsa.ppk). Their permissions (GIT Bash, "ls -l" command) were 700 (but I couldn't connect):
So I changed the permission (with chmod command) to 755:
And then both git-bash and ssh from putty started working. I know that these are not the most secure permissions, but for me it's enough. It may also help to run git/putty as administrator, but I didn't try that.