Fiddling with ec2

So, I've started to port over my pages from my current dynamic but unthemed system to a Jamstack version, and that is going well. What isn't going as well is getting the files from the generated directories onto the real system in an easy way. Unlike in the past, I've built this new site to run independently of my other sites, with the idea I could support actual client sites from third parties one day.

To this end, I created a different user to own the web files, and gave that user ownership of them. I then created an SSH key, and tried to log in. I then used AWS to create a key, but neither of them worked. It turns out AWS tries to validate the key, which is fine, but doesn't explain how to add your own key to this validation. Best I can understand is that only one key (ec2-user?) needs this, but every key goes through it. I dunno, maybe its because I edited the files directly to add my user, maybe?

Actually, I think I actually used the Linux commands, so maybe not. I might try with a password or maybe commenting out the check, if I can't figure out another way.

I'll also add I've looked and AWS just says you should add the user normally, but that doesn't work right now.

In the meantime, I'm uploading a tar file and doing my own manual unzipping. Not the automatic process I was gunning for out of the gate, but it will work for now.

links

social