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...
0
6 comments

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?

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

Just to confirm I connected via Git-UI. After that PhpStorm could connect as well :^O

0
Avatar
Permanently deleted user

i am getting the same error under mac.  i can successfully access via the command line, however phpstorm fails miserably.

0
Avatar
Permanently deleted user

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

0

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

0

Please sign in to leave a comment.