Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MySQL workbench SSH connection error [Bad authentication type(allowed_types=['publickey'])]

I have issue regarding SSH connection with my server. When i try to connect it results into error:"Bad authentication type(allowed_types=['publickey'])" Thanks

like image 939
Rana Rashid Avatar asked May 28 '15 16:05

Rana Rashid


2 Answers

You need to ensure that your private key is in openssh format. With puttygen you can export as Openssh. This worked for me.

like image 194
Jeff Avatar answered Dec 19 '22 12:12

Jeff


Check your username and public key this can cause problem. Attach the private key file with extension .ppk Also verify your connection with putty. Also check for the restriction on server.

like image 26
Shahid Mehmood Awan Avatar answered Dec 19 '22 13:12

Shahid Mehmood Awan