Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Java, Terminals

Thread view: 
Marcelo - 03 Oct 2005 16:46 GMT
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
Roedy Green - 03 Oct 2005 18:22 GMT
>How can I resolve this?
you need a piece of code that lets you login via telnet/ssh to remote
machine and pretend to be the typist with Java methods.  You are
trying to do  too indirectly.

See http://mindprod.com/jgloss/ssh.html

Surely one of those links will do it for you.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.