PHPStorm Git Windows
Has anyone managed to get Git working on Windows with phpstorm? I am using phpstorm ssh and keep getting "confirm ssh server key". I confirm this. I then get the followingL
java.io.IOException: Authentication failed
at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:274)
at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:158)
at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:138)
fatal: The remote end hung up unexpectedly
I have tried a few different URLs and get the same...
Please sign in to leave a comment.
Many people (including myself) in JetBrains dev teams and many users are successfully using git support under windows.
0) What git version are you using? PhpStorm build?
1) Is git working from command line with this repo?
2) Is proper git executable selected in IDE?
Hello Stephen,
Just a guess: when connecting first time, you need to accept server certificate as trusted. Since Git-command-line has no user interface for this, it just fails silently. Try connecting to the server by other means (i.e. Git-UI or just open the connection via SSH client) and accept the certificate.
Regards,
Kirill
Just to confirm I connected via Git-UI. After that PhpStorm could connect as well :^O
i am getting the same error under mac. i can successfully access via the command line, however phpstorm fails miserably.
Hi Shane,
I had the same issue myself. You may want to check out http://devnet.jetbrains.net/message/5285832 . That solved it form me.
Best,
Matt
This solution worked for me...
http://devnet.jetbrains.net/message/5451150#5451150
Note: make sure the Push works in Git Bash command line first.
Cheers