Problem
Any remote Git operation made with IntelliJ IDEA does not work, but the same operation performed directly from command line works correctly.
Cause
The problem is that IntelliJ IDEA uses the built-in version of git and it does not have an access to any of ssh keys located in ~/.ssh/ directory.
Solution
The idea of the solution is to switch Idea’s SSH executable mode to use native OS SSH.
Go to File->Settings->Version Control->Git and change SSH executable to Native.
Native is default option since 2018.3, so your problem may be different cause. Are you sure that you have correct key in ~/.ssh/ or %USER%/.ssh/ directory?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok
This solution did not work, I am still getting the “couldn’t authorize’ error. I am using intellij 12
It should work. Please check thaht git works correctly directly from command line. Maybe your ssh keys configuration is wrong.
has anyone successfully solved this issue? I have successfully used git from cmd line but having this issue in IntelliJ
This was really helpful. Thanks a lot!
Where is the “SSH executable” drop down in the latest version(s) of PhpStorm 2019.1.x? Why was it removed?
it was removed by JetBrains because the native is now the default, andthey dont intend for you to change it, because they removed the other option
Thanks for clarifying. Regards
Im using WebStorm and it works for me. Thanks a lot!
when I just open the panel ı could not see ssh executable on my ide.?
tnx man it works!
Hello, this menue is missing in idea 2019.2.4 community edition 🙁
Setting path to C:\msys64\usr\bin\git.exe does not work.
Native is default option since 2018.3, so your problem may be different cause. Are you sure that you have correct key in ~/.ssh/ or %USER%/.ssh/ directory?
IntelliJ IDEA 2020.2.3 (Ultimate Edition)
There is no “SSH executable” option.
AFIK using system SSH (native) instead of biuld one is now the only one behaviour.