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

circle110's avatar

Unable to get SSH to work

Using Forge with Digital Ocean. I have stored my public key into the Forge interface. I have pointed both PuTTy and HeidiSQL to my matching private key but I can't gain access. When I simply try to access the command line via PuTTy it tells me that "the server refused our key". I have tried generating new keys and uploading the new key to Forge, but the same result. What am I missing?

0 likes
3 replies
velvetfont's avatar

Hmmm which steps are you trying? I had some issues like those before, but I was eventually able to connect. Try to delete all previous keys from your server at Forge and try again with a fresh key copy pasted from terminal.

michaeldyrynda's avatar
Level 41

Make sure that you are connecting with the username forge, in addition to the public key.

circle110's avatar

Thank you deringer, that was the problem! I was connecting as root. Now I am half way home as I am still struggling with getting HeidiSQL to connect via an ssh tunnel. No luck.

Please or to participate in this conversation.