Re: ssh: redirect the output.

2009-01-27 Thread Bob Proulx
garp28 wrote: > ssh -T ${SRI} < su - simrun -c "/tmp/stop_sri.sh" > EOF > > I would like to redirect the output of the stop_sri.sh into a local log. > How can I do that? Use '>' to redirect the outout. For example: ssh -T ${SRI} >stop_sri.log <

ssh: redirect the output.

2009-01-27 Thread garp28
I'm writing a shell script in which I have to execute the a script (stop_sri.sh) remotely using the ssh command: ssh -T ${SRI}

Re: The colon

2009-01-27 Thread Jan Schampera
Stephane Chazelas wrote: >> If this is intended behaviour, can you tell me why (it's gone with >> quoting/escaping, of course)? > [...] > > That would be a bug. Looking at the code, it takes a different Good to know that I'm not completely mistaken - it smells buggy. Only Chet knows for sure wh