John Jolet wrote: > > On Jan 24, 2006, at 11:20 AM, Tom Smith wrote: > >> Jeff wrote: >> >>> Hey guys. >>> >>> I've got this big fat backup server with no space left on the hard >>> drive >>> to store a tar file. I'd like to pipe a tar through ssh, but not sure >>> what the command would be. Something to the effect of: >>> >>> # cat /var/backup | ssh backup.homelan.com 'tar data.info.gz' >>> >>> So that, the data is actually being sent over ssh, and then >>> archived on >>> the destination machine. >>> >>> Help! >>> >>> :-) >>> >>> >> Not possible. What you want is more along the lines of AFS, NFS, >> SMB, or >> the like. >> > > WRONG. I do it all the time.
Ok,. my bad. (Open mouth, insert foot. :-D ) Being a *nix junkie, I tend to do some things old school--that is, there are specific tools that are (dare I say) more specialized to such a task. You know... SSH = Secure SHell, SCP = Secure CoPy, SFTP = Secure FTP... So I had never really looked into using the "ssh" program for copying files between servers--it's always been more of a telnet-like application for me. -- gentoo-user@gentoo.org mailing list