Getting WP to work with SFTP
-
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
passwordand my login info for FTP is
f t p.phx.nearlyfreespeech.net (with socket 21)
username
passwordI don’t understand why WP won’t connect, when I am able to connect and edit the site manually with the same login credentials.
- The topic ‘Getting WP to work with SFTP’ is closed to new replies.