PhpStorm Git Push to Remote not prompting for Key or Passphrase

According to the Git Integration when connecting to a remote repo via SSH PhpStorm should prompt for key and passphrase as mentioned below.

Reference: https://www.jetbrains.com/help/phpstorm/using-git-integration.html

"If authentication requires an SSH key with a passphrase, Git looks for it in the credential helper, and, if no credential helper is found, it returns a prompt to the IDE. If you have configured a password policy, PhpStorm looks for credentials in the passwords database. If there is no passwords database, it displays a prompt and you have to enter SSH key and a passphrase."

I am not being prompted for neither key nor passphrase. Instead I am displayed this message: "Push failed: Failed with error: Could not read from remote repository."

Please help, I have been researching about this all day. Some posts suggest that PhpStorm does not support keys with passphrase, but the official doc from JetBrains says it does.

3 comments

File | Settings | Version Control | Git - change Git executable to Native

0

Thanks for the tip, but that didn't work. I get "Failed with error: Could not read from remote repository."

0

In fact, the Native executable does not support passphrases indeed: https://youtrack.jetbrains.com/issue/IDEA-170013
But the built-in one does. What it didn't do until recently is asking for a passphrase in case the remembered one is wrong: https://youtrack.jetbrains.com/issue/IDEA-184450

Please try the latest EAP, would it ask you with the built-in SSH executable?
https://www.jetbrains.com/phpstorm/eap/

0

Please sign in to leave a comment.