I am using ssh exec ant task in my script for executing some commands in unix system(change permission,etc)
i am executing these scripts from a distributed system. After the execution of the script,
In case of changing file permissions, the permissions are not changed as in the script.
How can i capture the error message that has been thrown by the unix system in the system we have executed the script?
You can use the
outputoroutputPropertyattributes of the sshexec task.