tar on OS X didn't like tar -c file -zf file.tar.gz but does accept tar -czf file.tar.gz file Also added an option to use a different SSH user.