[H-GEN] What's wrong with this command?
Clinton Roy
clinton.roy at gmail.com
Sun Oct 1 05:34:54 EDT 2006
> Not sure whether or not the data stream was being piped through the
> network to the remote host and back to the local file. :-/
Yup.
> tar -czf - Jira/ | ssh root at diamond cat - > /misc/Jira.tgz
That redirection to misc/Jira.tgz is being seen by the local shell,
you need to do something so that the remote shell sees the
redirection; quoting:
> tar -czf - Jira/ | ssh root at diamond 'cat - > /misc/Jira.tgz'
And of course you shouldn't be sshing as root, but that's for someone
else to pick up on ;)
cheers,
--
Clinton Roy
www.acqao.org - ARC Centre of Excellence for Quantum-Atom Optics
www.humbug.org.au - Brisbane Unix Group
azure.humbug.org.au/~croy/blog - Blog
www.flickr.com/photos/croy/ - Photos
More information about the General
mailing list