I followed the instructions for setting up SSH to the letter, even using the same username as wp-user.
When I try to install a plugin, it comes up with “Public and Private keys incorrect for wp-user”
I generated the key pair several times. Same problem!
When it didn’t work after several regens, I decided to generate my own using puTTY and then uploaded it to the /home/wp-user directory as wp_rsa, wp_rsa.pub.
In the Wordpress Connection Information page, it shows the following:
FTP/SSH Username wp-user
FTP/SSH Password … (I did not give wp-user a password as instructed not to)
Public Key: /home/wp-user/wp_rsa.pub
Private Key: /home/wp-user/wp_rsa
Connection Type SSH2
I’ve been at this from morning to now evening. Frustrating.
Anyone have any idea why this isn’t working? TIA.
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!