When executing Command or Shell Script steps on a remote host via SSH, Harness uses the default shell of the target machine and its internal wrapper script assumes Bash syntax. If the remote host's default shell is tcsh or csh, both the wrapper and user scripts fail with unclear errors ("Command not found", "Undefined variable"). Shebangs do not override this behavior.
Request:
  1. Add support for non-Bash shells (tcsh, csh, ksh) on remote SSH targets, or invoke Bash explicitly regardless of the host's default shell.
  2. If a target shell is unsupported, fail with a clear error message stating the shell is not supported rather than producing misleading errors.
Created by Aadesh Bhardwaj
·