Resolve error code 255 when running SSHAgent Jobs

Follow

When executing a Job in JAMS that uses the SSHAgent execution method, an error code may be returned with a value 255.  This error occurs when there is no hashbang that specifies the interpreter that should be used to execute the rest of the script at the beginning of the SSH source in the JAMS Job definition.  Adding the hashbang will resolve this error.

Examples:

 

#!/bin/sh

 

or
 

#!/bin/bash


Have more questions? Submit a request

Comments