Support » Plugin: SSH SFTP Updater Support » Private key incorrect for wordpress

  • Resolved wmstonetn


    I have installed your plugin, but I cannot seem to get it to work. I always get the private key incorrect for wordpress message.

    My installation is running on an Ubuntu 12.04 server. ftp is disabled, sftp works fine.
    I setup a special linux user wordpress to do the updates. Created the ssh keys. copied the pub key to authorized keys and downloaded the private key to my desktop. When I try the update process i have :

    Hostname = localhost
    FTP/SSH Username = wordpress
    FTP/SSH Password = passphrase

    I upload the key file and pick ssh2

    Any help would be appreciated

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TerraFrost


    Since you’re generating the ssh keys yourself… can you generate another one, verify that the other one has the problem, and then give it to me? The public key that you added to authorized_keys, the corresponding private key and the passphrase.


    I recreated the keys – this time with no passphrase. I get the same results.

    Where can I PM you the keys?

    Also, I uncommented the line in class-wp-filesystem-ssh2 to enable logging, but I don’t know where it logs to.

    Plugin Author TerraFrost


    You could post them in this thread or email them to Whichever you prefer.

    That said, if you’re not seeing any logs, my guess would be that you’re not even connecting. ie. maybe something like is happening to you. You can confirm this by adding define('WP_DEBUG', true); to your wp-config.php file.

    Plugin Author TerraFrost


    This has been resolved. Apparently the wordpress user was not in the sshusers group.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Private key incorrect for wordpress’ is closed to new replies.