Hi, When I try to use an SSH tunnel connection I get an error message because it can't find plink.exe... I would also rightly say....how can I configure the connection to use a terminal for tunnels?
Heidi for MAC - Tunnel SSH Problem
Ok, please stick to "ssh" on macOS, not "ssh.exe". That's important, even if you errors now.
The error now is caused by "sshpass" (not "ssh")!
HeidiSQL internally uses sshpass as soon as you are using a SSH password. I don't know if macOS supports sshpass, but you definitely don't have it - that's what the error says.
Solution: use a private key instead of a password for your SSH connection. This is more secure, and does not require sshpass. A private and public key must be created before you can use it - probably you have heard of that?
With the private key and the "ssh" entry, the connection works. I tried installing sshpass via brew, and although it works in the terminal, HeidiSql doesn't see the command, probably due to an internal shell or something similar.
Do you know of a situation where this happens?
So when you use a password, HeidiSQL again displays "no such file or directory" ?
Try in the terminal again, call sshpass without path, as that is what HeidiSQL does. If it can't find the command then a solution would be to add the path to sshpass to the PATH environment.
I suppose you are the very first one trying the whole SSH tunnel in HeidiSQL on macOS. At least I get not much feedback from macOS folks yet.
When I try to use sshpass in my terminal, the first thing that appears is:
sshpass: -e option given but "SSHPASS" environment variable is not set. zsh: segmentation fault sshpass -e ssh francesco@172.16.69.25 -p 22 -o StrictHostKeyChecking=no -N -L When I export the password variable, I get no error message and the connection is established.
Please use the fresh app bundle from the download page, I compiled it 2 days ago and it contains a fix for sshpass which is documented in issue #2364
Please login to leave a reply, or register at first.





