Github not working only in phpStorm

Recently I moved some of my projects on github using git ability of handling multiple origins in one local repository. As I didn't found any ability of adding another remote origin in phpStorm I added it manually in terminal. Everything worked, however now I cannot update or push files using phpStorm it shows me error in Version Control window.
java.io.IOException: Authentication failed:
 at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:298)
 at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:172)
 at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:137)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I'm using ssh key authorisation for github.
if I paste command in either phpStorm or standard terminal the command is working without problems, only clicking in phpStorm failes.
What could be wrong with it?

3 comments
Comment actions Permalink

Please check what's the type of SSH executable is in your Git settings: File | Settings (Preferences for Mac OS) -> http://i.imgur.com/8dPsbWY.png

0
Comment actions Permalink

Path is set to: /usr/bin/git
SSH Executable type set to Built-in

I'm using linux, should I change the type to Native?

Edit: looks like that was it, after changing to Native click works again :)
Thanks!

0
Comment actions Permalink

Greatn news! I wanted to suggest the "Native" option.

0

Please sign in to leave a comment.