At 2003-07-24T08:19:49Z, Diomidis Spinellis <[EMAIL PROTECTED]> writes:

> tar cvf - / |@ ssh remotehost -- dd of=/dev/st0 bs=32k | :

> The effect of the above command is that a socket is created between the
> local and the remote host with the standard output of tar and the standard
> input of dd redirected to that socket.  Authentication is still performed
> using ssh (or any other remote login mechanism you specify before the --
> argument), but the flow between the two processes is from then on not
> protected in terms of integrity and privacy.  Thus the method will mostly
> be useful within the context of a LAN or a VPN.

Isn't this almost the same as:

    # ssh -f remotehost "nc -l -p 54321 | dd of=/dev/st0 bs=32k"
    # tar cvf - / | nc remotehost 54321

Netcat implements a TCP/UDP transports and basically nothing else.  Isn't
that what you're trying to achieve?
-- 
Kirk Strauser

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to