Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

purposemedia's avatar

Database Connection - Unable To Load Key

Im pulling my hair out with this one. I've managed to get a site running on Digital Ocean through Forge and also SSH into the server so I know that the SSH keys are setup correctly.

But when trying to connect via Navicat, I keep getting the error "Unable to load key". Does anyone know what this is in reference to or what the problem is.

regards

0 likes
5 replies
greenwood360's avatar

Make sure you are not choosing the .pub version of your key - Admittedly I was not selecting the private key but the public one...

unohuim's avatar

I have the same issue, and either version of the id_rsa file generates an error. Can't seem to find anything, so I'll connect w/ Navicat tomorrow (just bought this Mac yesterday).

Please or to participate in this conversation.