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. Authentication failed:
 at org.jetbrains.git4idea.ssh.SSHMain.authenticate(
 at org.jetbrains.git4idea.ssh.SSHMain.start(
 at org.jetbrains.git4idea.ssh.SSHMain.main(
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?

Comment actions Permalink

Please check what's the type of SSH executable is in your Git settings: File | Settings (Preferences for Mac OS) ->

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 :)

Comment actions Permalink

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


Please sign in to leave a comment.