ksh not found on remote server

Hi guys,

I need to run batch jobs on a remote machine. I have been able to make a connection with a user2 login details via ssh, and have tested that I am in the correct directory etc. Problem is that when I try to run the batch job, I keep getting a ksh <batchjobname> not found. If doing it manually on the remote machine with the user2 details its fine, but when I ssh from another machine it doesnt seem to find the batch....

Is there a possiblity that the user1 that I am logged in as on machine one doesnt have the correct privileges in order to run the batch?? Its the only thing that i can think of after having explored all else.

If any one has had a similar problem your help would be much appreciated!!

Cheers

give a relative or an absolute path to your 'batchjobname' file - your ssh connection's PATH probably doesn't include '.'