wood burning stoves 2.0*
The moose likes Java in General and the fly likes connect unix from windows java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "connect unix from windows java program" Watch "connect unix from windows java program" New topic
Author

connect unix from windows java program

sammeta Phanikumar
Ranch Hand

Joined: Oct 25, 2007
Posts: 81
Hi,

I want to connect to Remote unix box from java program which is in windows os.

I have tried using plink.exe of putties. But it just creating a session ...but that does not ending..going in infinite loop.

please help me how to connect to unix box and run a shell script and then i want control back to windows.

Thanks in advance.

Phani


SCJP 5, SCWCD 5, SCDJWS 5
Oleg Tikhonov
Ranch Hand

Joined: Aug 02, 2008
Posts: 55
Hello,
I use this one

Hope it helps,
Oleg.
sammeta Phanikumar
Ranch Hand

Joined: Oct 25, 2007
Posts: 81
Hi Oleg,

Thanks for your reply. I have a doubt here.....can we run commands on unixbox using this?

PHani
Oleg Tikhonov
Ranch Hand

Joined: Aug 02, 2008
Posts: 55
Yes you can .
Please look at examples here.
I use it in my environment and it works fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connect unix from windows java program
 
Similar Threads
How I connect to remote Unix Box from standalone java application?
Connecting to a Database
Calling vb component resides on windows from java on unix
Connecting to Unix via Windows