SSH tunnel auth fail
See original GitHub issueHey there!
I’ve got a problem with SSH tunneling with public RSA key auth.
If I establish SSH through shell
ssh IP -l user -p 2247 -L 3307:localhost:3306
DBeaver connects to DB normally.
This is a real drag for me, so I decided to try out the tunnel through DBeaver. I’ve set everything up, but on testing connection or trying to connect I get a password prompt. If I leave it blank like you suggested at other Auth threads (w/ or without Save Password), I get:
Can’t initialize tunnel Cannot establish tunnel Auth fail Auth fail
I’m using DBeaver 5.0.2 on ubuntu 17.10.
edit: from the DBeaver debug: 2018-04-08 02:38:22.789 - SSH INFO: ssh_rsa_verify: signature true 2018-04-08 02:38:22.791 - SSH INFO: Host is IP known and matches the RSA host key 2018-04-08 02:38:22.794 - SSH INFO: SSH_MSG_NEWKEYS sent 2018-04-08 02:38:22.795 - SSH INFO: SSH_MSG_NEWKEYS received 2018-04-08 02:38:22.799 - SSH INFO: SSH_MSG_SERVICE_REQUEST sent 2018-04-08 02:38:22.832 - SSH INFO: SSH_MSG_SERVICE_ACCEPT received 2018-04-08 02:38:22.876 - SSH INFO: Authentications that can continue: publickey 2018-04-08 02:38:22.884 - SSH INFO: Next authentication method: publickey 2018-04-08 02:38:23.168 - SSH INFO: Disconnecting from IP 2018-04-08 02:38:23.177 - Connection failed (mysql5-162a2b08d7b-1d679e479ada54e)
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
same here, although in my case @serge-rider 's advice helped - sshj worked even with locally generated rsa key.
@serge-rider any chances sshj is becoming the default implementation used in Dbeaver? Thanks!
@klimov-gett I hope so. Currently it is not included because of bug size of BouncyCastle package.