forem / selfhost

Selfhost your Forem Community on your own infrastructure 🎉
https://www.forem.com/get-started/
GNU Affero General Public License v3.0
1.45k stars 175 forks source link

no able to connect with ssh #86

Open miaw-miaw opened 1 year ago

miaw-miaw commented 1 year ago

Hello,

I'm unable to connect with shh on the droplet created by Forem. I've tried with the root and core username but i get this: Permission denied (publickey,gssapi-with-mic).

digitalextremist commented 1 year ago

Hi! I do not use Forem yet, but I recognize that error. Did you provide an SSH key in your DigitalOcean droplet provisioning details? That error is saying your key ( on the shell you are connecting from ) does not match the root user. Or, it does match, but you might not have ssl -l root host and just ssh host without the login user provided.

If you are providing a login user and it does not connect with your local key, you might need to use their web console to add your key. Or destroy the droplet, and add it again with your key supplied so you can authenticate via ~/.ssh/id_rsa.pub or similar. Other than that would be Forem-specific I would think.