Установите и импортируйте SSHLibrary, затем используйте следующий код:
Keyword Name
[Arguments] ${server}=${host_url} ${user}=${USERNAME} ${pass}=${PASSWORD}
Open Connection ${server}
Login ${user} ${pass}
${out} ${err} ${rc}= Execute Command cd ${SH_SCRIPT_PATH};sh ${SH_file_name} return_stdout=True return_stderr=True return_rc=True
Should Be Equal ${rc} ${0}
Should Not Contain ${out} [main]ERROR