Mohana Eemeli - 2010-05-03

I'm trying to connect via sftp. I'm using filezilla to manually check the connection and it works.
When using jsch, I'm getting the exception message "channel is not openend".

com.jcraft.jsch.JSchException: channel is not opened.
    at com.jcraft.jsch.Channel.connect(

client version: SSH-2.0-JSCH-0.1.42
server version: SSH-2.0-mod_sftp/0.9.7

what are my options?
I've tried earlier version (1.41, 1.38, and some more), but they all either do not respond on channel.connect() or fail.