Sample code for simple GSI ssh connection

Andre Charbonneau <[email protected]>
Newsgroups gmane.comp.java.sshtools.user
Message-ID <[email protected]>
Hi everyone,
I was browsing through the sshtools code trying to find some sample code 
on how to do a simple, GSI authenticated, X11 forwarding SSH connection 
to a remote host but I couldn't find any. 
I'm simply looking to make a connection and run a remote command, 
without the SSHTerm gui.
(I used to have this working with an older version of the sshtools 
library, but I'm trying to upgrade my application to the newest sshtools 
version and its not compiling/working anymore.) 


Anyone knows where I can find such a sample piece of code as a starting 
point?

Thanks,
    Andre

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.