I have added SSH utils jar to hotDeploy folder, restarted service.
Added a ssh step, provided following details in the step:
UserName,password,host,port and Test connection was successful(refer attachment)
I have placed "initiatefnciscan" sh file at /root/codeinsight/
Provided SSH command as
./initiatefnciscan --apiendpoint <Endpoint> --authorizationkey <Key> --yamllocation /root/codeinsight/ --checkoutdirectory /root/codeinsight --username <name> --password <password> --action upload
On clicking Test SSH command it throws following error:
bash: ./initiatefnciscan: No such file or directory
NOTE: the initiatefnciscan file exists in the location specified /root/codeinsight/