I am trying to run a remote command from Jenkins.
I am able to run the command from the agent directly successfully.
But when I am trying the same command from the Jenkins it gives me below error.
I found the same issue here.
I tried all the solution provided there but its still not working.
Any help would be appreciated.