[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssh: redirect the output.

From: garp28
Subject: ssh: redirect the output.
Date: Tue, 27 Jan 2009 07:03:51 -0800 (PST)

I'm writing a shell script in which I have to execute the a script
remotely using the ssh command:

ssh -T ${SRI} <<EOF
su - simrun -c "/tmp/stop_sri.sh"

I would like to redirect the output of the  stop_sri.sh into a local log.
How can I do that?
View this message in context: 
Sent from the Gnu - Bash mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]