Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Artem Livshits

    (@artemlivshits)

    I think you’re missing the -i flag when specifying the key:

    scp -r -i /path/key_pair.pem ~/Desktop/canvas ec2-user@public_dns_name:~

    Thread Starter Lulio Sr.

    (@lulio-sr)

    Thanks for your prompt reply,

    I tried adding the -i flag, and even using “sudo”, gets me a long list of lines like:

    ~/Desktop/canvas/404.php: Permission denied

    Plugin Author Artem Livshits

    (@artemlivshits)

    You can try to compress the files into an archive and then transfer the compressed archive and uncompress it on the target.

    tar czf canvas.tgz ~/Desktop/canvas
    scp -i /path/key_pair.pem canvas.tgz ec2-user@public_dns_name:~
    ssh -i /path/key_pair.pem ec2-user@public_dns_name
    tar xzf canvas.tgz

    (note that the last command is going to executed on the instance, as you’ll be SSHed to the instance).

    Another way to transfer files (and do other admin tasks), is to configure Webmin and use its File Manager or Upload and Download functionality.

    Thread Starter Lulio Sr.

    (@lulio-sr)

    Based on your tip, I was able to build a script that (finally!) made the “canvas” theme show up on the wordpress admin’s Dashboard. Here’s the listing:

    cd ~/Desktop
    sudo tar czf canvas.tgz canvas
    scp -i /path/key_pair.pem canvas.tgz ec2-user@public_dns_name:~
    ssh -i /path/key_pair.pem ec2-user@public_dns_name
    sudo tar xzf canvas.tgz
    sudo mv canvas /var/www/wordpress/wp-content/themes/
    cd /var/www/wordpress/wp-content/themes
    sudo chown -R apache:apache canvas
    sudo ls -al canvas

    I do appreciate the Webmin feature included with Yapixx.

    I still have to figure out how to install the proper File Manager java plugin on my MacBook, so I can use the File Manager module in Webmin. Any pointers on that topic will be very welcome.

    As for Oblaksoft, I’m pleased to award the Yapixx/ClouSE product, my own “!!!!!” rating. (Top five exclamation marks!)

    Thank you Artem!

    Plugin Author Artem Livshits

    (@artemlivshits)

    Thank you for the good words! The Java installation instructions are here: https://www.java.com/en/download/help/mac_install.xml.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to transfer directories to the Yapixx instance?’ is closed to new replies.