Connecting to MySQL through SSH with Key


Need to connect to mySQL using a private key, but it keeps saying denied. I know I can connect just fine through cmd access or WinSCP or Filezilla, etc. Am I missing something?


Please see the following topic:


Also maybe some instructions of how to implement it?


really not a common way but looks like your mysql is located somewhere else… so try this one:

Or maybe go with VPN so no quirk is needed


See my other post about autossh: