While I have no problems making an SSH connection from one server to another, my Jenkins is still having a trouble connecting to the remote server while executing a managed script, which is as follows.
$ssh root@xxx.xxx.xxx.xxx
And the following is the message that is produced by Jenkins while building the project.
$ /bin/sh /tmp/build_step_template8225836097820612990.sh
Host key verification failed.
Additional information will be uploaded upon request.