0 Replies Latest reply: May 28, 2013 4:04 PM by thgoum RSS

    External Bash Script Passwordless Login ssh doesn't return status

    thgoum
      Hi to all,

      I have created an event based job which is calling a bash script like this

      ------------------------------------------------------------------------
      #!/bin/bash
      ssh test_user@test_server rm -fv /home/test_user/*
      ------------------------------------------------------------------------

      but every time the event is raised and the job is triggered, stucks in running mode. It seems that the ssh doesn't return exit code.

      Any ideas?

      Thanks in advance