Hi,
I am doing SSH to a remote machine and running a shell script on it, What I want to do here is get the output of the shell script as shell script is executing meaning display the output on the machine which i m using without any delay.
Right now, The script runs for 10mins and I have no output on my screen as what is happening in Shell Script. and then all the output comes suddenly after 10 mins, so I want to get the output of the Shell script running on the remote machine in which I m doing SSH without any delay so that USer which is Running Perl Script shall know that Shell script is running on the other end and doing Some Stuff.
I did not mention that I am calling from perl script... using NET::SSH::PERL so its fairly simple the shell script which i want to run is 'snap.sh', which itself calls lots of stuff and gives the output/status of those one by one.. so I want the same thing to be seen on my server where I am running perl script as the shell script is running...
Thanks.
Xomo