Secure Updates and Installations in WordPress (with ssh2)

Hi there,

I’m using bedrock with nginx and it’s running flawlessly. I wanted to setup ssh for plugins installation and updates following this tutorial:

I couldn’t make it to work, it gives a blank page then a bad gateway error whenever I try to update wordpress or install a plugin. I followed the same tutorial however on a simple wordpress+nginx installation and it worked perfectly.

Any ideas?

Bedrock disables file mods depending on the environment settings e.g. this line prevents updates in production.

It may take a little more than that to get it working but it’s a start.

1 Like

Thanks. I’m actually in dev env, I don’t have this line so i’ts something else for sure. I’ll keep digging.