Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2009 20:58:05 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Lyndon Nerenberg <lyndon@orthanc.ca>
Cc:        current@freebsd.org
Subject:   Re: Telnet root login
Message-ID:  <790a9fff0903251858w713adf32n85761295e42524d3@mail.gmail.com>
In-Reply-To: <alpine.OSX.2.00.0903251717180.28019@peregrin.local>
References:  <995845.90009.qm@web63905.mail.re1.yahoo.com> <E1LmSXe-000IqH-QM@clue.co.za> <49CA6754.4030302@elischer.org> <49CAC20E.3020602@telenix.org> <49CAC8FE.5050708@elischer.org> <alpine.OSX.2.00.0903251717180.28019@peregrin.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 25, 2009 at 7:20 PM, Lyndon Nerenberg <lyndon@orthanc.ca> wrote:
>> Oh I know about SSH and keys but teh ability to pipe data into s tcp
>> socket and have it fed into another process is really useful in testing. and
>> of course no encryption overhead.
>
> ssh cannot touch rsh for things like 'tar cf - . | rsh hostb tar xf -'.
>

You can do the same thing with ssh to transfer files to a remote host:

tar cjf - . | ssh user@hostb "(cd /desired/path; tar xjf -)"

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0903251858w713adf32n85761295e42524d3>