Share
Go down
ashav
Posts : 4
Join date : 2014-02-10

Using Java, how to connect a Remote machine and then ssh to another machine from the already connected one ?

on Thu Mar 20, 2014 2:19 pm
Hi All,

I want to connect a Remote machine and then ssh to another machine from the already connected one. The second remote machine is not directly accessible.

I mean to say, I have 2 remote machine lets say - m1 and m2

Using java code in Selenium Webdriver, I have to first connect remote machine m1 and from there I need to do ssh to connect another machine m2. On the m2 machine, I have some text file which I need to read. 

Note: The remote machine m2 is not directly accessible.

Please help ASAP.

Thanks!
Back to top
Permissions in this forum:
You cannot reply to topics in this forum