7
submitted 1 year ago* (last edited 1 year ago) by ZMonster@lemmy.world to c/lemmy_support@lemmy.ml

I have tried the docker, ansible, and scratch methods. I have been troubleshooting for a month now. I have gotten nowhere. I need someone to help walk me through how to deploy a lemmy server because the guides are absolute trash.

Please help. I'm wasting money running this VPS and for literally nothing.

Edit: So, I've tried the ansible method, but I can't access my server this way. It just keeps saying "UNREACHABLE". I have generated a dozen keys, none of them work. I have NO PROBLEMS with ssh in Putty. I can use Putty all day. Putty works fine using my ssh key. Ansible does not. No amount of new keys has made any difference. I have countless keys in my stupid droplet because of this hacky garbage.

you are viewing a single comment's thread
view the rest of the comments
[-] ZMonster@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

I can't even get that far.

I used a different PC, installed WSL, created a new rsa key stored at "/home/wsl/.ssh". Added the public key to my DO droplet. Rebuilt the droplet to ensure that the keys transferred.

ssh -i /home/wsl/.ssh/id-rsa root@ip

Permission denied (public key)

every ๐Ÿ‘ fucking ๐Ÿ‘ time ๐Ÿ‘

I would love to try the ansible method, but apparently I'm the only person to not just instinctively know how to ssh from another pc. I've searched for a reference to this and none of them help. Any advice?

[-] Max_P@lemmy.max-p.me 1 points 1 year ago

I think that's supposed to be an underscore in id_rsa, not id-rsa, unless you changed it from the default.

[-] ZMonster@lemmy.world 1 points 1 year ago

I figured out the problem, digital ocean was only applying the top RSA key, which is my Putty key. The keys I added to DO via WSL were not getting added to the authorized key list. So I added my key to the authorized keys file and it worked. Well, it let ansible access the server. I'm having other issues but will work on them later.

this post was submitted on 20 Jul 2023
7 points (88.9% liked)

Lemmy Support

4617 readers
11 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS