PLink and privkey passphrase handling..

jfalch posted 4 years ago in General
it's quite nice that heidsql for some time now has parsed out messages output by plink.exe, and shows these in information dialogs.

it would be even nicer if this treated the message

Passphrase for key "...":

specially, namely by showing an input dialog instead of a message dialog, and passing its input string back to plink.exe's stdin.
ansgar posted 4 years ago
Yes, that's currently output which is somehow unexpected by HeidiSQL's plink integration. I'm not sure if I can get that to work but I'll have a look.
jfalch posted 4 years ago
that would be nice. because of the current behaviour, it is not possible to use encrypted key files with heidisql, which i would prefer to do for security reasons.
NbgRalle posted 4 years ago
Not entirely sure if we're having the same problem, but I found this thread via Google, so I'll leave this message here for other people like me.

that would be nice. because of the current behaviour, it is not possible to use encrypted key files with heidisql, which i would prefer to do for security reasons.



It is possible if you enter the passphrase in the SSH password field. If you still get the message from above, your passphrase probably contains one or more double quote characters (") and that does not get escaped, causing the connection attempt to fail. Choose a passphrase without double quotes and it should work. I've opened a thread about this here.

Please login to leave a reply, or register at first.