Re: Telnet root login

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Wed, 25 Mar 2009 20:58:05 -0500
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
Received on Thu Mar 26 2009 - 01:29:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC