sqlectron-gui icon indicating copy to clipboard operation
sqlectron-gui copied to clipboard

Testing Server connection doesn't prompt for ssh passphrase

Open szabado opened this issue 6 years ago • 5 comments

MySQL database, using Sqlectron 1.27.0 on Ubuntu 17.10

When adding a new server, if you have an encrypted private key it doesn't prompt for the passphrase and fails.

screenshot from 2017-10-28 16-43-55

szabado avatar Oct 28 '17 20:10 szabado

MacOS 10.14.5 same thing

gvlekke avatar Jul 17 '19 09:07 gvlekke

Same on Windows 10

noximuz avatar Sep 23 '20 14:09 noximuz

@MasterOdin This seems to still be an issue. Any chance of a fix soon?

cthulhu-of-vhoorl avatar Nov 14 '20 23:11 cthulhu-of-vhoorl

@maxcnunes could modify it so that always ask for passphrase, and then save it to file along with DB information. Probably easier than trying to tie together the modal for asking about passphrase for testing and for connecting. Thoughts?

MasterOdin avatar Nov 15 '20 03:11 MasterOdin

Still an issue. Quick snippet for SSH tunneling:

ssh -i ~/.ssh/id_rsa -N -L 127.0.0.1:15432:localhost:5432 [email protected]

Then connect to localhost:15432

mudream4869 avatar Sep 02 '22 06:09 mudream4869