title: 127 Build step > 'Execute shell script on remote host using ssh' marked build as > failure Finished: FAILURE
body: <p>I am trying to use sh or ssh to connect to a linux box via jenkins (I am a noob admittedly). Even trying a ls command I am getting error - I did have this working before however - any help greatly appreciated. </p>
  
  <blockquote>
    <p>Building in workspace /var/lib/jenkins/jobs/Demo/workspace executing
    script:</p>
  </blockquote>
  
  <pre><code>USER="jenkins"   sh '''#!/bin/bash 
  HOST=10.59.151.121 
  USER=devuser 
  PASSWORD=TGMCfpfS 
  ls   
  bye 
  EOF 
  ''' 
  </code></pre>
  
  <blockquote>
    <p>: No such file or directory [SSH] exit-status: 127 Build step
    'Execute shell script on remote host using ssh' marked build as
    failure Finished: FAILURE</p>
  </blockquote>