If you want to check the output from the shh job you can do this in a job chain with a step after the ssh job. The ssh job provides a order parameter for the stdout which can be examined. You can switch to different nodes depending on the existing of a spefic string.
Have a look on the example which is available here: ssh_stdout_example.zip
Please note that you have do configure host, user and pwd in the ssh job. The string looking for is set in the node configuration file.