Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

just wondering if theres a way to define sftp info in wp-config.php the same way you can with ftp.

makes plugin adding a lot easier!

best,Dan.

share|improve this question
add comment

1 Answer

Do you mean SFTP or FTPS?

For SFTP you need to enable libssh2-php on your server and link it to your PHP and restart your ssh, you can get the downloads here http://www.libssh2.org/

Once you install that you should automatically see SFTP/SSH option in your admin under "Connection", though I believe there was some recent dev talk about dropping this from the core and making it into a plugin, not sure where that went.

There is a SFTP PHP server guide here that will work with WordPress or anything running on php, http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.