Re: running remote commands

From: Payal (payalrathod_at_gmail.com)
Date: 06/21/05


Date: 21 Jun 2005 10:42:10 -0700

Hi,
Thanks a lot. That ddi the trick.

With warm regards,
-Payal

Paul Hink wrote:
> Payal <payalrathod@gmail.com> wrote:
>
> > I want to append contents of $HOME/foo to remote@example.net:bar
> > How do I do that from ssh without login in?
> > I am looking at something like,
> > $ ssh example.net ls
>
> $ ssh remote@example.net "cat >>bar" <"$HOME/foo"
>
> Paul