Bug #68124 Cannot connect to server administration tool using SSH with RSA key
Submitted: 19 Jan 2013 8:33 Modified: 10 Sep 2014 4:17
Reporter: Pal Korossy Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.44 OS:Linux (OpesSUSE 12.2)
Assigned to: CPU Architecture:Any

[19 Jan 2013 8:33] Pal Korossy
Description:
I'm unable to connect to the server administration section of Workbench using SSH with an RSA key. I get error message "Could not establish SSH connection: not a valid DSA private key file."
I've found a bugreport #50779 with the same content but I'm unable to reopen it.

How to repeat:
1. Create a new server instance for server administration using an RSA key.
2. Attempt to connect to the server instance, error message is displayed.
[25 Jun 2013 2:13] Alfredo Kojima
What does the first line (the header/begin marker) of the key file look like?
[11 Jul 2013 23:51] Alfredo Kojima
First, do not attach your whole key file here, we only needed its prefix.
Second, the file you attached is the public key, not the private key. WB needs the private key when connecting using SSH keys.
[10 Sep 2014 4:17] Alfredo Kojima
Closing bug as this seems to be a misunderstanding. When setting a RSA key for a SSH connection, one must supply the path to the public key in the connection settings.