Bug #83485 | Can't create SSH tunnel with password protected private key | ||
---|---|---|---|
Submitted: | 22 Oct 2016 23:51 | Modified: | 14 Apr 2018 10:36 |
Reporter: | Tamas Turcsanyi | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Workbench | Severity: | S1 (Critical) |
Version: | 6.3.8, 6.3.9 | OS: | Windows (Microsoft Windows 8.1 Pro) |
Assigned to: | CPU Architecture: | Any | |
Tags: | WBBugReporter |
[22 Oct 2016 23:51]
Tamas Turcsanyi
[16 Feb 2017 6:21]
Chiranjeevi Battula
Hello Tamas Turcsanyi, Thank you for the bug report and steps. Verified this behavior on MySQL Workbench in 6.3.9 version Thanks, Chiranjeevi.
[16 Feb 2017 6:32]
Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=84907 marked as duplicate of this one.
[17 Feb 2017 8:41]
Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=85038 marked as duplicate of this one.
[17 Feb 2017 16:31]
Frederico Wuerges Becker
Same problem here on version 6.3.9 with Linux Mint 18.1 (Ubuntu 16.04).
[17 Feb 2017 16:52]
Frederico Wuerges Becker
I found a solution: update the paramiko python library. On Ubuntu: sudo pip install -U paramiko
[20 Feb 2017 11:52]
Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=85062 marked as duplicate of this one.
[6 Jul 2017 8:26]
Trevor White
Is there a workaround for Windows 10 x64 ?
[6 Jul 2017 8:41]
Trevor White
Just to add I tried downloading paramiko-2.2.1 and extracting the paramiko directory over the C:\Program Files\MySQL\MySQL Workbench 6.3 CE\python\site-packages but that just resulted in an error: 09:37:37 [INF][ SSH tunnel]: Starting tunnel 09:37:37 [ERR][ python]: Error running file C:\Program Files\MySQL\MySQL Workbench 6.3 CE\sshtunnel.py 09:37:37 [WRN][ ]: Tunnel manager could not be executed I also tried using pagent to handle the key but that also errored. My SSH Key is password protected and my server only accepts the aes256-ctr cipher, I know in Java I have to enable unlimited security to allow the connection if it helps.
[24 Aug 2017 21:14]
Grant Crawley
I have found that a PuTTY private key doesn't work, you need to export it in an OpenSSH private key format. The following worked for me on Workbench 6.3.9 x64 running on Windows 10 Pro x64. Open PuttyGen Click Load Load your private key Go to Conversions->Export OpenSSH and export your private key Save the key file somewhere safe and then open it with Workbench in the manage connections dialog. You may want to clear passwords before testing connections. Don't forget to update the key on both the Connections pane and the Remote Management pane.
[14 Mar 2018 10:36]
Marcin Szalowicz
Please export the key into OpenSSH format, I should also mention that with the next WB release we refactored ssh handling, so please give it a try and let us know if it works for you.
[15 Apr 2018 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[30 Jul 2021 20:11]
Mary Catherine Martinez
Definitely can't use an SSH connection with a password protected key to connect. Could this possibly be fixed? It's a bug from 2016 that requires a workaround that is less secure. Or just using other software :-/
[21 Nov 2021 11:28]
Christophe CHAPPAT
same problem on MacOs