Connecting to MySQL through SSH with Key


#1

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?


#2

Please see the following topic:


#3

Also maybe some instructions of how to implement it?


#4

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


#5

See my other post about autossh: