If you want to get really fancy, you could set up a git repository and use a post-receive hook to handle this all for you when you push. Then from your dev machine, call the script: $ ssh -i ~/path/to/key.pem /home/ubuntu/copy.sh Discuss features and issues you are having in the Cyberduck Google Group. For bug reports or a feature request you can open a ticket in our public issue tracker. For issues with your account credentials, please instead write to your hosting service provider. Sudo su #this will only work if sudo doesn't prompt for a passwordĬp -r /home/ubuntu/stage/* /var/www/html/ Support Documentation is maintained in a wiki everyone can contribute to. Usually you will find it on android-sdkplatform-toolsadb. Its clean and straightforward operation allows you to quickly upload and download files without the interface clutter found in some FTP programs. adb is a program that you can find on android sdk. Cyberduck (Mac) For Mac users the robust and stable FTP browser/client, Cyberduck, is an open-source must-have for tasks requiring FTP, SFTP, WebDav, Mosso Cloud Files, and Amazon S3 server interaction. On your PC run command 'adb start-server'. 2) Connect your phone to your PC using USB cable. Create a /home/ubuntu/copy.sh script on the server like this: #!/bin/bash 1) On your phone go to Settings->Applications->Development and set option 'USB debugging'. You won't have to modify the system configuration this way, but you will have to do the file transfer in two steps.Ĭreate a staging folder in /home/ubuntu and copy the files there. My preferred solution is to upload the files to the ubuntu home directory and then run a script as root that moves the files to the correct location. This will allow you to operate your FTP client like normal. First create the user, then create a public/private key pair for non-interactive login. The first is to create a new user account specifically for FTP and give it permissions only to the necessary folders. I don't think the ec2-user account works on recent Ubuntu AMIs, which may explain the failed login.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |