I’m on CentOS 7 with a LAMP stack.
I’ve a Wordpress installation which I’m trying to enable it to perform updates and installations via SSH. I’ve followed this tutorial from Digital Ocean which I’ve performed every step and more than double checked.
The problem is that whatever I’ve tried, I keep getting the error
Public and Private keys incorrect for wp-user when I try to update a plugin or install a theme.
A minor difference than the tutorial I’ve followed: the tutorial didn’t gave a password for the specific Wordpress user but I did. I read somewhere that it might fail because of that.
Also as you can see as well, the tutorial goes on Ubuntu. The packages I’ve installed instead are(tutorial package > my installed package):
sudo pecl install -f ssh2 gives the following:
PHP Warning: Module 'ssh2' already loaded in Unknown on line 0 downloading ssh2-0.12.tgz ... Starting to download ssh2-0.12.tgz (26,223 bytes) .........done: 26,223 bytes ERROR: pecl.php.net/ssh2 not installed
Can you please help me debug?
P.S. I’ve also asked the question here which hasn’t been answered yet but a user commented some on it although it wasn’t really helpful. I’m just sharing it as a heads-up.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!