[Linux-disciples] Copying amongst machines via scp
Adam Rosi-Kessel
adam at rosi-kessel.org
Fri Feb 2 13:17:14 EST 2007
On 2/2/2007 12:54 PM, Stephen R Laniel wrote:
> ssh host2 ssh host1 cat [filename] > ~/local_filename
> to solve the scp problem, but is there some way to do it
> that's less hackish?
Doesn't seem so hackish to me. Of course you could wrap it in a pretty
shell script if you didn't want to know what was going on. It's also
common to use tar in this context to do the operation with multiple
files preserving directory structure, etc.. With rsync, I suppose you
could use the --rsh switch.
More information about the Linux-disciples
mailing list