Java, Terminals

M

Marcelo

Hi,

I am having a very hard time here trying to figure out how to fix this
problem with java.

I am working with many computers connected by a LAN. To use them I
should connect my computer with a ssh connection.

I would like to connect to the machine_1 and launch a thread (calling a
program to be executed), then I would like to login in machine_X and run
another thread. Everything, without loosing the information that
machine_1 gives me.

I am using the Process class in order to execute
rt.exec("ssh -X machine");
However, the threads only runs on the application host...

How can I resolve this?

thank you very much,

Marcelo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top