Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
don't ask password
Permanently deleted user
Created
Hi! I tried to pull my project from git repo and when PhpStorm asked me password, I pushed the close button and after that PhpStorm don't ask me password. How can I fix it?
Do I correctly understand that you pressed the close button instead of entering the password? And what happens afterwards? PhpStorm doesn't ask you the password, but shows an error?
Now, when I pull or push project PhpStorm don't ask me any questions or show any windows and return "fatal: The remote end hung up unexpectedly". I use Windows 7 and PhpStorm 5.0.1
I copy text from my Version Control Console:
16:50:20.720: cd D:\Projects\www\mad
16:50:20.721: git pull --no-stat --log -v --progress origin master
java.io.IOException: Keyboard-interactive authentication failed.
at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:391)
at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:271)
at com.trilead.ssh2.Connection.authenticateWithKeyboardInteractive(Connection.java:213)
at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:241)
at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:156)
at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:136)
Caused by: java.io.IOException: Sorry, this connection is closed.
at com.trilead.ssh2.transport.TransportManager.sendMessage(TransportManager.java:636)
at com.trilead.ssh2.auth.AuthenticationManager.authenticateInteractive(AuthenticationManager.java:337)
... 5 more
Caused by: java.io.IOException: Invalid PEM structure, '-----BEGIN...' missing
at com.trilead.ssh2.crypto.PEMDecoder.parsePEM(PEMDecoder.java:138)
at com.trilead.ssh2.crypto.PEMDecoder.decode(PEMDecoder.java:313)
at com.trilead.ssh2.auth.AuthenticationManager.authenticatePublicKey(AuthenticationManager.java:171)
at com.trilead.ssh2.Connection.authenticateWithPublicKey(Connection.java:443)
at org.jetbrains.git4idea.ssh.SSHMain.tryPublicKey(SSHMain.java:336)
at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:215)
... 2 more
fatal: The remote end hung up unexpectedly
I deleted folder with project, and made clone repo again. But trouble did not fix :(
I installed PhpStorm EAP 124.237. But trouble did not fix. Could it be to related to git settings? But when I pull at the console, git ask me ssh password.
Hi,
Do I correctly understand that you pressed the close button instead of entering the password?
And what happens afterwards? PhpStorm doesn't ask you the password, but shows an error?
Yes! You understood me right.
Now, when I pull or push project PhpStorm don't ask me any questions or show any windows and return "fatal: The remote end hung up unexpectedly".
I use Windows 7 and PhpStorm 5.0.1
I copy text from my Version Control Console:
I deleted folder with project, and made clone repo again. But trouble did not fix :(
I'm sorry for my bad English.
Thank you.
I installed PhpStorm EAP 124.237. But trouble did not fix. Could it be to related to git settings? But when I pull at the console, git ask me ssh password.
It seems that you have an incorrect id_rsa private key: without the starting section which should look something like
-----BEGIN RSA PRIVATE KEY-----¬
2 Proc-Type: 4,ENCRYPTED¬
3 DEK-Info: DES-EDE3-CBC,E11255C5A63924
Please try to regenerate SSH keys and see if that helps.
This is text from id_rsa file:
This is text from id_rsa.pub file:
P.S. I changed some letters in the key
Thank you very much!!!
I regenerated SSH keys by GIT Bash like that and after PHPStorm started use them.
I'm very happy.
Thank!
You're welcome.
Great that the problem has been solved.