Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

SSH Tunnel error from -N command

rainfarmer's profile image rainfarmer posted 1 month ago in General Permalink

Trying to access a mysql db via ssh tunnel.

I think I have all the settings correct. But open button returns error:

PLink exited unexpected. Command line was: C:\Program Files\PuTTY\plink.exe -ssh <user>@<serverIP> -i "C:\Users\key" -N -L 38445:<MySqlIP>:3306

If I use the same ssh command in Windows terminal. It doesn't do anything or return error.

But if I use the same ssh command in Windows terminal and remove the "-N" it works correctly.

rainfarmer's profile image rainfarmer posted 1 month ago Permalink

Oh and I updated HeidiSQL and plink

ansgar's profile image ansgar posted 4 weeks ago Permalink

This is what the plink usage says:

-N don't start a shell/command (SSH-2 only)

And not starting a shell does not work on your server?

Please ensure you are using plink v0.73.

rainfarmer's profile image rainfarmer posted 4 weeks ago Permalink

yes im using plink v0.74

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




Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.