• I recently installed WP on a DIY hosting platform. I am unable to get WP to connect using SFTP, in order to add or remove plugins, or perform automatic updates. I keep getting a prompt to fill in my FTP login credentials. My site has FTP disabled be default, and I use SFTP for manual uploads. The WP prompt offers two options, FTP and FTPS (SSL) which I am assuming is the same thing as SFTP. WP assumes socket 21 for FTP uploads, but I am trying to get WP to remove a plugin via SFTP and I am specifying socket 22. But I just can’t get WP to connect. I’ve entered all the credentials and also variations (wild-ass-guesses) of those credentials, but no luck. My login info for SFTP is

    ssh.phx.nearlyfreespeech.net (with socket 22)
    username
    password

    and my login info for FTP is

    f t p.phx.nearlyfreespeech.net (with socket 21)
    username
    password

    I don’t understand why WP won’t connect, when I am able to connect and edit the site manually with the same login credentials.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dion

    (@diondesigns)

    FTPS is NOT the same as SFTP.

    WordPress requires the PHP ssh2 extension in order to support SFTP. Check with your hosting company to verify that ssh2 is installed, and if not, have them install it.

    Thread Starter betaversion1958

    (@betaversion1958)

    I’ll check with them and report back. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting WP to work with SFTP’ is closed to new replies.