SSH Tunnel error from -N command

rainfarmer's profile image rainfarmer posted 4 years 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 4 years ago Permalink

Oh and I updated HeidiSQL and plink

ansgar's profile image ansgar posted 4 years 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 years ago Permalink

yes im using plink v0.74

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