I am currently using SSHLibrary for connecting to a remote server using robot framework for my testing purpose . But I need to establish connection to a 2nd server (for running some commands and obtain some results),to which direct connection from my laptop is not possible . Only way to connect to this 2nd server is , login to the server 1 then ssh .
I tried searching but could not succeed . Any help is very much appreciated as I am stuck in this for long time now .
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
I've never actually done or needed this to chain systems together but I imagine you can use the Remote library and robotremoteserver to setup a remote library on the 2nd server. You would then setup a proxy-like wrapper library on the 1st server which sets up its own remote library that directly calls the 2nd servers remote library functions. Then, from your laptop, you import the 1st server's hosted remote library and voila, you're sending commands and receiving output from the 2nd server from your laptop.
On Mon, Nov 21, 2016 at 9:56 PM, Mathews Jose <mathew...@gmail.com> wrote:
I am currently using SSHLibrary for connecting to a remote server using robot framework for my testing purpose . But I need to establish connection to a 2nd server (for running some commands and obtain some results),to which direct connection from my laptop is not possible . Only way to connect to this 2nd server is , login to the server 1 then ssh .
So is there any way I can achieve this using robot framework . Any other libraries or keywords available ?I tried searching but could not succeed . Any help is very much appreciated as I am stuck in this for long time now .
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
echo "Replace echo here with actual command(s) you want to run" | ssh server2 bash