WordPress.org

Ready to get started?Download WordPress

Forums

SSH SFTP Updater Support
[resolved] Private key incorrect for wordpress (5 posts)

  1. wmstonetn
    Member
    Posted 1 year ago #

    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

    http://wordpress.org/extend/plugins/ssh-sftp-updater-support/

  2. TerraFrost
    Member
    Plugin Author

    Posted 1 year ago #

    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.

    Thanks.

  3. wmstonetn
    Member
    Posted 1 year ago #

    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.

  4. TerraFrost
    Member
    Plugin Author

    Posted 1 year ago #

    You could post them in this thread or email them to terrafrost@php.net. 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 http://wordpress.org/support/topic/could-not-copy-file-at-autoupgrade?replies=2 is happening to you. You can confirm this by adding define('WP_DEBUG', true); to your wp-config.php file.

  5. TerraFrost
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic