Hello, all. I know this question has been asked before, but I've been trying to secure my WordPress installation with SSH keys (so it's a little bit safer). I followed the tutorial located here:
However, now when I go into my admin area and try to update or install a theme or plugin, it's now asking me for my "wp-user" FTP credentials, instead of just auto-updating. I followed the tutorial to the letter, but I can't make heads or tails of the "troubleshooting" section at the end. Everything looks like it's absolutely set up correctly, but it seems the wp-user isn't viewed as the "owner" of WordPress somehow (even though the ls -l command shows that it definitely is).
Is there something else I should attempt? I did try doing "sudo chown wp-user:www-data /var/www" (WordPress is installed in the root - and it's not a 1-click install, it's running LAMP and I manually installed it) but that didn't do anything.
Any help would be appreciated, thanks!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.