SSH SFTP Updater Support
[resolved] I have to re-upload the authkey each time (8 posts)

  1. kkzk
    Posted 3 years ago #

    I am using your great SSH SFTP updater plugin, and everything is going fine (updatew work), but I have each time to re-upload my PEM key (i an hosted on a EC2 AWS server).
    I there any solution to avoid to re-upload the file each time I do an update ?
    Best regards ...


  2. TerraFrost
    Plugin Author

    Posted 2 years ago #

    The latest SVN now uses HTML5's localStorage to save the key if it's been copy / pasted.

    It'll save it on a per browser basis so if you use another browser on another computer you'll need to re copy / paste the key.

    Thanks for the feedback and I apologize for the delay!

  3. bjtalbot
    Posted 2 years ago #

    I'm having the same problem—need to upload or copy/paste the key for each update—and I'm using your version 0.3. I'm using the same computer and browser each time. Any suggestions? Thanks!

  4. TerraFrost
    Plugin Author

    Posted 2 years ago #

    v0.3 is the old code. To get the latest you'd need to update your plugin to the latest SVN version. If you don't know how to use SVN (or don't have it installed or whatever) you can replace the contents of your sftp.php with this:


  5. bjtalbot
    Posted 2 years ago #

    Thank you. I did this, but when I tried to upload, I couldn't copy the file—kept getting an error message about "expected handle." Maybe I'll just wait patiently for the new official version :)

  6. TerraFrost
    Plugin Author

    Posted 2 years ago #

    Does it give you a line number?

    Anyway maybe try doing this zip instead:


    I'm not going to make a new official release unless I'm sure the feature is working for people.

  7. bjtalbot
    Posted 2 years ago #

    No luck with the zip. I can upload it to the remote server, but when I try to unzip it, it unzips to a TemporaryItems folder on my local machine.

    Here's the error message I get when I try to copy ANY file from my local computer to the remote server:

    Expected handle: /opt/bitnami/apache2/htdocs/wp-content/plugins/ssh-sftp-updater-support/"/Users/xxxxxx/Sites/yyyyyyy/wp-content/plugins/ssh-sftp-updater-support/readme.txt" "readme.txt"

    I can wait for the official update if the solution isn't immediately obvious.

    Thanks for your help!

  8. TerraFrost
    Plugin Author

    Posted 2 years ago #

    Sounds like it's not a problem with this plugin so much as it's a problem with your (S)FTP client..

    Would you be willing to send me (terrafrost@php.net) an email with your hostname, username and password (or private key) and I can upload the files myself?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SSH SFTP Updater Support
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic