help with 'tar|rsh tar'

Nikolas Britton nikolas.britton at gmail.com
Sat Jun 24 01:34:39 UTC 2006


I need to backup the /data directory on hostA to /data on hostB, about
1TB of data on a gigabit link. Right now I'm using scp but the
handshake latency and ssh overhead is killing me.

I've looked at many examples of tar|rsh tar and I can't figure it out,
most of the examples on the net look like this:
# tar cf - . | rsh hostname dd of=tape-device obs=20b
# tar -cf -...|rsh ...tar xf -...

I almost got it to work but I got this error: 'rshd: Login
incorrect.'. rsh is enabled on hostB and If I just do 'rsh hostB' it
works... this is my first time using rsh BTW.


More information about the freebsd-questions mailing list