Hi,
We are experiencing an issue when using Jsch to connect to a SFTP-server. It
seems like the sessions are not properly closed or cleared, resulting in a
rejection from the SFTP server after 20 connects+disconnects.
1. Execute commands connect, cd, ls and disconnect on SFTP-server 20 times.
(We disconnect both the channel and the session)
2. The next connect results in an exception. (connection through
command-line sftp now returns an error "ssh_exchange_identification: Connection
closed by remote host")
3. Wait ~30 min and connects will again be accepted.
Has anyone experienced a similar issue and/or know the cause? Connecting 20+
times using the command-line SFTP-client does not result in this problem.
Regards,
Gustav Karlsson
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users