title: How to call .ksh file as part of Unix command through ssh in Python
body: <p>I would like to achieve the following things:</p>
  
  <p>Given file contains a job list which I need to execute one by one in a remote server using SSH APIs and store results.</p>
  
  <p>When I try to call the following command directly on remote server using putty it executes successfully but when I try to execute it through python SSH programming it says cant find autosys.ksh.</p>
  
  <p><code>autosys.ksh autorep -J JOB_NAME</code></p>
  
  <p>Any ideas? Please help. Thanks in advance.</p>