ExecutionException: SSH: Auth fail 关注
When i try to conect to MySQL over SSH i get "SSH: Auth fail" but the credentials are correct becouse i can connect from terminal perfectly.
the idea.log fail says
2017-01-07 10:10:03,351 [ 50039] WARN - lij.database.util.ErrorHandler - SSH: Auth fail
com.intellij.execution.ExecutionException: SSH: Auth fail
As a temporary workaround you need to specify `Auth type` as `OpenSSH config and authentication agent` and load your keys into agent:
If there is still the issue, could you try to reproduce it with the latest DataGrip 2019.2 EAP and specify your case in https://youtrack.jetbrains.com/issue/IDEA-216202?
Could you provide your datasource SSH settings screen shot?
I have the same problem
Same problem. DataGrip is not usable because of this
@vasily chernov ssh tunnels fail since 2016. Why is this such a problem to fix them? Simple and free sequel pro has no a single issue with this.
Enhanced SSH functionality will be available in DataGrip 2017.3.
2017.3 is out
weeeell.... stack trace is now shorter. big progress
Could you attach full IDE log? Do you ssh agent?
Build #DB-173.4127.18, built on December 19, 2017
Licensed to DataGrip Evaluator
Expiration date: January 26, 2018
JRE: 1.8.0_152-release-1024-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.2
I use ssh-agent.
How to get full IDE log?
By the way. Setting "Auth type" to option "OpenSSH config and authentication agent" helps in my case
@ Pablo Nuñez Hi,
Do you connect with email@example.com user? Try with root only.
I've already opened a ticket in your bug tracker and already asked you about how to get this log =)
@Terion what is the ticket id?
Our office started getting the `jcraft.jsch.JSchException: Auth fail` exception today. I don't know if this is related to the original poster's problem, but we found re-entering SSH key passwords restored functionality.
Reentering ssh key worked for me as well. Thanks @Mike Heyns!
I ran into this after updating macOS. Re-adding key to ssh-agent worked for me:
Using PyCharm with same error. But as Ben suggested, moving key to ssh-agent, and then modifying settings in PyCharm to use ssh-agent instead of OpenSSH pair worked.
Thanks Ben, re-adding key worked for me.
I have the same problem. I can connect successfully with Putty but couldn't via IntelliJ.
It is ridiculous, I can connect via the terminal coming with IntelliJ by ssh firstname.lastname@example.org, but I could not connect by "Start SSH session" also could not connect via Database explorer. (I am using the option "OpenSSH config and authentication agent")
Stack trace producing from "Start SSH session"
Thank you for stack trace.
Do you load your keys into ssh agent?
Could you specify signing algorithm for your ssh keys?
I am having the same issue - is there a resolution for this?
The same questions for you:
almost 3 years and now I'm downloading fresh datagrip — and still can't connect via ssh tunnel. I have no words, jetbrains. vasily chernov seriously?
Could you file an issue in our YouTrack https://youtrack.jetbrains.com/issues/DBE ?
Also, try Auth type OpenSSH config & auth agent
vasily chernov it's there for 2 years already https://youtrack.jetbrains.com/issue/DBE-5649
Could you describe you problems in the issue https://youtrack.jetbrains.com/issue/DBE-5649?
Is it related to ssh passphrase? If it is, follow steps described in https://youtrack.jetbrains.com/issue/IDEA-214583#focus=streamItem-27-3901920.0-0
vasily chernov, Volodymyr Kornilov in comments in youtrack — that's me