Jeroen van Erp
Jeroen van Erp
You could build this yourself by running a separate thread that does the timeout and that closes the inputstream when the timeout expires.
This exception occurs when the server side unexpectedly closes the connection.
If you've really changed the key, it should no longer work. However there are multiple reasons why your scenario would work: 1. There is another key present in the locations...
Can you provide detailed trace level logging of both connection/authentication attempts, plus a reproducing piece of code?
@jmatias-assia Can you try to run with a build from this PR? I've added a logging line just before the encryption that shows the entire packet including length and padding...
Hi @jmatias-assia, I have no idea why it is failing for you. I've looked at all the changes between 0.26.0 and 0.27.0 and the only one I can imagine is...
`allocateDefaultPty` allocates a `vt100` compatible PTY. You could indeed try experimenting with that.
More logs are needed (preferably both client and server side) to determine what went wrong.
you would really need to have a trace and preferably server side log to determine what went wrong. As you can imagine from a 2 line stacktrace excerpt with a...
To obtain an InputStream from a RemoteFile, you can do this: ``` RemoteFile f = sftpClient.getSFTPEngine().open("/home/sftp/file1"); InputStream is = f.new RemoteFileInputStream(0); ```