Re: running remote commands
From: Paul Hink (email_at_p-hink.de)
Date: 06/20/05
- Next message: sanelson_at_gmail.com: "Determining Key Length"
- Previous message: Payal: "Re: port forwarding"
- In reply to: Payal: "running remote commands"
- Next in thread: Payal: "Re: running remote commands"
- Reply: Payal: "Re: running remote commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 20 Jun 2005 20:56:49 GMT
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: sanelson_at_gmail.com: "Determining Key Length"
- Previous message: Payal: "Re: port forwarding"
- In reply to: Payal: "running remote commands"
- Next in thread: Payal: "Re: running remote commands"
- Reply: Payal: "Re: running remote commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]