External Bash Script Passwordless Login ssh doesn't return status
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