I want to copy files from my local development environment (Win7, Eclipse, ANT) to a remote Ubuntu server. Ubuntu sever locks root by default, so all copy commands require sudo cp ....
Is there a way to use ANT to accomplish this easily? I don’t see any options for using SUDO, but I’m new to using ANT.
Install cygwin (cygwin.com) or mingw (mingw.org) and use scp/ssh from there. It’s far easier to setup authorization there (you do it in $HOME/.ssh/ as usual) so that you do not have to pass it in the ant script.