I am trying to transfer all files from within a directory through tar as follows:
tar cz * | ssh -p 57310 email@example.com tar xzv -C /home/site/www
and the error that is returned is
stdin: is not a tty tar: includes: file changed as we read it tar: /home/site/www: Cannot chdir: No such file or directory tar: Error is not recoverable: exiting now
I am connecting to example.com using ssh key.