jsch-documentation
jsch-documentation copied to clipboard
check the unit of the timeout
Session.setTimeout(int), Session.connect() and Session.getTimeout() use an unsigned int value. There is nowhere documented what time unit (seconds, milliseconds?) is used here.
Look this up in the source (e.g. what is done with this value later) and document it.
So, what's the unit?
According to this question it should be millisecond: http://stackoverflow.com/questions/35009009/jsch-session-timeout-limit