• Hello,

    I have set up updates using this tutorial and it has worked fine for more than 6 months. Now everytime i try to update/remove a plugin or a theme, it asks for ssh login details (which are completed) but it doesn’t connect and gives this error message:

    “ERROR: There was an error connecting to the server, Please verify the settings are correct.”

    I have verified settings and they are correct. Files have the correct permissions (for ssh authentication).

    I have also checked apache error log but it doesn’t contain anything.
    AFAIK this started to happen as soon as I installed Wordfence plugin. I have removed it manually and the problem persists.

    Can someone help me troubleshoot? Thank you

    server: ubuntu 14.04
    apache 2.4.7
    PHP 5.6.22-1

Viewing 6 replies - 1 through 6 (of 6 total)
  • That must be server configuration issue, try checking the FTP details,user permission or file permission.and final option is contact server support.

    Thread Starter arjoniii

    (@arjoniii)

    @vizwa I don’t think it’s not server related. Permissions are fine, I have checked them a lot of times, auth.log doesn’t show anything (it should have traces of login failures if it was server related).

    Do you have FTP details? if yes, try using them on filezilla and if works fine, then use this at admin section. It may work:)

    Thread Starter arjoniii

    (@arjoniii)

    @vizwa yes they do. I am using ssh and not ftp. Details are configured at wp-config.php.

    Dion

    (@diondesigns)

    PHP 5.6.22 is less than a month old, so you must have done a PHP update recently. Are you sure the SSH2 extension is installed? I ask because SSH2 is a somewhat obscure extension that is not normally found in PHP installations.

    Alternately, you could reconfigure Apache/PHP to use FastCGI. That will permanently eliminate all issues with updates/uploads/etc.

    Thread Starter arjoniii

    (@arjoniii)

    @diondesigns on ubuntu there is a package that does it (php5-ssh2). I am pretty sure that it is installed and it worked until 2-3 days ago after i installed the plugin mentioned in the first post.

    How do i configure it? Is it a better option than my standard setup?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error updating plugins and themes (ssh authentication)’ is closed to new replies.