I would like to excute a shell script on a remote unix server. Now, I dont have direct connectivity to this server. I must go through jumphost which is also unix box. I want to make a batch file which execute the script on the remote server in one go. Below diagram may help to understand this better.
Local Machine-->Jumphost (Unix box)-->Remote unix server-->execute shell script
My batch job will connect to jumphost using telnet and then it should connect to remote server and execute the script.
How to do this in "one" go ??