SSH Permissions

I’ve opened the SSH tunnel for my project by right-clicking on the project and clicking “Open Site SSH” like I’ve done many times before for other projects. But for this project I’m unable to perform any wp-cli commands.

Even just wp db export returns a Permission denied error.

I know wp-cli runs based off the user settings in wp-config and I have confirmed that those are correct (the site does load, after all), so I’m not sure where else I can look.

Hi @zforsman,

What folder are you running wp db export in? Also, are you on macOS or Windows?


I’m in /app/public

Can you try restarting the site and then running that command?

Also, what happens if you try exporting it in /app?

No luck with either of those.