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} <<EOF
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?
--
View this message in context:
http://www.nabble.com/ssh%3A-redirect-the-output.-tp21687067p21687067.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.
