aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Connecting to Remote Unix Host from JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Connecting to Remote Unix Host from JAVA" Watch "Connecting to Remote Unix Host from JAVA" New topic
Author

Connecting to Remote Unix Host from JAVA

Siva shankari
Greenhorn

Joined: Sep 07, 2010
Posts: 1
Hi all,

1) I use JSch [Java Secure Channel] to connect to my remote host. I am able to connect and execute unix commands using this. But for certain commands, I get error such as Null Pointer Exception. But, when I debug the same, it gets executed and displays the output properly. So, I guess, the time delay in executing the subsequent commands in Java has to be delayed, such that, it manages to fetch the output from the unix, and displays it through the Java GUI. Please tell me, how to set this time delay.

Thanks.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8707
    
    6

JSch has a mailing list. You may have better luck searching or posting there.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connecting to Remote Unix Host from JAVA
 
Similar Threads
Saxon Processor
Running Unix commands
connecting to UNIX
How I connect to remote Unix Box from standalone java application?