A Forge DO server has access with password turned off and you need to use the SSH key you uploaded from your machine to SSH into the box.
Having SSH Problems? Yes. Yes, I am.
I have a site setup through Forge that runs on a DigitalOcean server. Everything is 'Active' and 'Successful'—all green lights.
However, whenever I try to deploy through GitHub I am getting a server alert:
Something went wrong when we tried to execute an action on your server. Sometimes this means we couldn't SSH into the server, or something may have gone wrong while executing a command. If error output is available, please review it below.
Having SSH Problems?
Please make sure that the following SSH key is placed in both the /home/forge/.ssh/authorized_keys file and the /root/.ssh/authorized_keys file on your server.
Being that I haven't mucked about with DO ever in my life, I am struggling to figure out where the /home/forge/.ssh/authorized_keys and /root/.ssh/authorized_keys files would be located on the server? No amount of Googling and praying to the internet gods to have mercy on my pathetic soul has resulted in any amount of success.
Do I find them through the site interface? (And, if so, where?) Do I access them via SSH? (And, if so, where?)
Thanks in advance for your wisdom.
@sheldonscott Did you look at my previous post? First, if you plan on using SSL, you will need to trash the default site and create a new one. It's easy so no worries. If not, then the default site is fine.
You need to upload your public key to Forge so you can SSH into the server. After, you do that and from the terminal, ssh [email protected] (whatever your IP address is).forge` is the user.
Please or to participate in this conversation.