Am 23.10.2015 um 04:19 schrieb Fate Testarossa: > when i use jsch frequently connect and disconnect session,it shows : > > com.jcraft.jsch.JSchException: verify: false > at com.jcraft.jsch.Session.connect(Session.java:295)
[...] > And when i also connect and disconnect channelsftp frequently , > the message shows that " > com.jcraft.jsch.JSchException: verify: false > at com.jcraft.jsch.Session.connect(Session.java:295) This is the same error. You don't reach the line where you open sftp. > Then how to do it if i want to connect and disconnect session > and channelsftp frequently ? Thanks. Looks like there is a firewall on the server-side (or a feature in the SSH-server) regarding your client's behavior as DoS-attack and denies further access. Cheers, Lothar ------------------------------------------------------------------------------ _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users