
Support for Cyberduck seems to be basically non-existent though. If it doesn't, you can quit, run this in the terminal, and start Cyberduck again and it will offer to import the bookmarks, if they are available:ĭefaults delete ch.sudo.cyberduck .filezilla Oh, Cyberduck will also import your FileZilla bookmarks automatically. I just wish, as I wrote in my opening post, that there was an easy way to link a remote server with a local Finder folder. Every time I save changes, a notification pops up telling me when the file is saved remotely. I'm quite enjoying using Cyberduck this afternoon because I'm remotely editing a file, and it seems especially easy via Cyberduck. And automatic refreshes of the transfer panes. So it would be nice to have a dual pane FTP client that also allowed for non-cumbersome editing of remote files (and comparing with the local file) as well as drag-and-drop from the Finder. No need for an FTP client at all.I like the dual pane in FileZilla. 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

Sudo su #this will only work if sudo doesn't prompt for a passwordĬp -r /home/ubuntu/stage/* /var/www/html/ Create a /home/ubuntu/copy.sh script on the server like this: #!/bin/bash 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.
