• I got SSH uploading working for a while, but it randomly stopped working.

    I’ve got the following setup for my ssh uploading in wp-config.php:

    define(‘FTP_BASE’, ‘/var/www/jackalopegames.com/’);
    define(‘FTP_CONTENT_DIR’, ‘/var/www/jackalopegames.com/wp-content/’);
    define(‘FTP_PLUGIN_DIR ‘, ‘/var/www/jackalopegames.com/wp-content/plugins/’);
    define(‘FTP_PUBKEY’, ‘/***/.ssh/id_rsa.pub’);
    define(‘FTP_PRIKEY’, ‘/***/.ssh/id_rsa’);
    define(‘FTP_USER’, ‘***’);
    define(‘FTP_PASS’, ‘***’);
    define(‘FTP_HOST’, ‘localhost’);

    When I try to upload anything with SSH, I get the following error.

    <b>Public and Private keys incorrect for root</b>

    I regenerated private and public keys, but nothing.

    I’ve searched this phrase and have gotten literally 0 results on Google, which leads me to believe that there is also 0 documentation for this problem. I’ve looked through a lot of tutorials on this, and none of them cover this error. I even had this working for a while, but it randomly stopped working after a while.

    UPDATE:

    Uploading media works, but uploading themes does not work.

    Any pointers?

Viewing 1 replies (of 1 total)
  • make sure the contents of id_rsa.pub are in your authorized_keys file, and then move both id_rsa.pub and id_rsa into a more public folder that apache can access

Viewing 1 replies (of 1 total)
  • The topic ‘SSH uploading – Public and Private keys incorrect for root’ is closed to new replies.