Telnet root login

Scot Hetzel swhetzel at gmail.com
Wed Mar 25 19:29:58 PDT 2009


On Wed, Mar 25, 2009 at 7:20 PM, Lyndon Nerenberg <lyndon at 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 at hostb "(cd /desired/path; tar xjf -)"

Scot


More information about the freebsd-current mailing list