• Been trying for hours and just can’t get it to work.

    I have to put the ssh-sftp-updater-support in this folder:

    /var/lib/wordpress/wp-content/plugins

    Made it a link to:

    /usr/share/wordpress/wp-content/plugins/ssh-sftp-updater-support

    Then I could see it in my plugins and now it shows in WordPress SSH2 and I pick that but it wants a Copy / Paste Private Key: and I pasted a lot of what I thought was the right key in it. But none work. I used the /root/.ssh/id_rsa and used it with and with out the —–BEGIN RSA PRIVATE KEY—– and —–END RSA PRIVATE KEY—– text but still no good.

    I all so did a ssh-keygen -t rsa to make a new key and put my e-mail for the passphrase and put my e-mail in the paste of WordPress but still no good and I all so used “The key fingerprint is:” a 16 hax number. Nothing works.

    Were can I get the right Copy / Paste Private Key: to paste in there? It just comes back all ways with:

    Private key incorrect for root
    Make sure that the key you are using is an RSA key and not a DSA key

    I hope some one knows how to fix this.

    -Raymond Day

    https://wordpress.org/plugins/ssh-sftp-updater-support/

Viewing 1 replies (of 1 total)
  • Thread Starter RaymondDay

    (@raymondday)

    I just got it working but with out the key but the password like this:

    apt-get install libssh2-php
    
    edit:
    
    /etc/php5/apache2/php.ini
    
    Find the section “Dynamic Extensions” and add the following under it in a new line:
    
    ;;;;;;;;;;;;;;;;;;;;;;
    ; Dynamic Extensions ;
    ;;;;;;;;;;;;;;;;;;;;;;
    extension=ssh2.so
    
    /etc/init.d/apache2 restart

    But it be better if I could find the RSA key to paste in there. Just don’t know how or were to get it.

    -Raymond Day

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