[wellylug] ssh scripting

Jamie Baddeley wellylug at vpc.co.nz
Fri May 20 21:13:00 NZST 2005


On Fri, 2005-05-20 at 20:40 +1200, Pete Black wrote:
> sure - this is super simple with ssh e.g.
> 
> ssh user at host.com 'df -h'  will give you the output of the df command 
> run on the remote host

Hey,

Sure. What I was wanting to do is run a series of commands remotely, and
process the results locally. I could do a mean seqence of command|
command etc, but I thought it might be funky to see if I could do it
this way.

jamie




More information about the wellylug mailing list