Re: running remote commands
From: Payal (payalrathod_at_gmail.com)
Date: 06/21/05
- Next message: Spook: "Failed Login to Only Spit Out message after 3 Failed Tries"
- Previous message: Bilbo: "Re: Making keys for putty"
- In reply to: Paul Hink: "Re: running remote commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Spook: "Failed Login to Only Spit Out message after 3 Failed Tries"
- Previous message: Bilbo: "Re: Making keys for putty"
- In reply to: Paul Hink: "Re: running remote commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]