Question

How to update wordpress plugin and theme while using SFTP SSH connection

I installed Ubuntu 14.4.5 x64 in a droplet i created and installed vestaCP to host mulitple wordpress sites. I am using SFTP and no FTP is used for security purpose. Problem came when i tried to update my plugins. I was asked for Hostname, FTP Username, FTP Password. i can give my IP as host name for username root but for password I need to upload the SSH file but there is no option for that. If there is any solution please give me the details.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

I have already read the tutorials… but I am using Nginx and my Apachi is desabled

You need to change wp-config to use SSH, and specify user, SSH keys.

Also you should install php-dev, libssh2, libssh2-php to make it work.

Refer to How To Configure Secure Updates and Installations in WordPress on Ubuntu. It’s an older tutorial, but will help you