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 Windows users. Who used puttygen.exe to generate your RSA keys. And you added the PUBLIC key to your Openshift account, via the web console. And you can PUTTY in OK, but not SSH from GIT-BASH (or cannot git clone via SSH).
One common reason is the key generated by puttygen.exe, is a PUTTY specific file. You can convert this to OPENSSH format, from within the puttygen.exe program. (Menu > Conversions > Export OpenSSH Key) Save it to a new file, in the same directory as your original PUTTY generated PUBLIC/PRIVATE key pair.
Reference this OPENSSH key from your ~/.ssh/config file. See step 4 here, if you dont have this config file. https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git
Test by opening GIT-BASH, and trying your specific "ssh [email protected]" (without the quotes, and where user and your host are specific to your account). If that works, you should be good to go...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With