Not exactly what you asked for, but jsch is a ssh library you can use, look it up, it's simple, and has great examples on their page
--
You received this message because you are subscribed to the Google Groups "ConnectBot Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectbot-use...@googlegroups.com.
To post to this group, send email to connectb...@googlegroups.com.
Visit this group at http://groups.google.com/group/connectbot-users.
For more options, visit https://groups.google.com/groups/opt_out.