Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH key password not prompted for connection with SSH tunneling #1222

Closed
Arakmar opened this issue Feb 2, 2017 · 1 comment
Closed

SSH key password not prompted for connection with SSH tunneling #1222

Arakmar opened this issue Feb 2, 2017 · 1 comment
Labels
Milestone

Comments

@Arakmar
Copy link

Arakmar commented Feb 2, 2017

I have a connection to a MySQL DB accessed though a SSH tunnel.
It's configured to not remember the password so it asks it every time.

Since 3.8.3, the password isn't asked and the connection fails with the following error :

2017-02-02 09:57:39.005 - org.jkiss.dbeaver.model.exec.DBCException: Can't initialize tunnel
org.jkiss.dbeaver.model.exec.DBCException: Can't initialize tunnel
        at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:698)
        at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:74)
        at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.jkiss.dbeaver.DBException: Cannot establish tunnel
        at org.jkiss.dbeaver.model.impl.net.SSHTunnelImpl.initializeTunnel(SSHTunnelImpl.java:159)
        at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:696)
        ... 3 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:512)
        at org.jkiss.dbeaver.model.impl.net.SSHTunnelImpl.initializeTunnel(SSHTunnelImpl.java:151)
        ... 4 more
@serge-rider serge-rider added the bug label Feb 2, 2017
@serge-rider serge-rider added this to the 4.0 milestone Feb 2, 2017
@serge-rider
Copy link
Member

This happens only in case of password protected private key auth.
Thanks for report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants