Hi,

I am trying to use the default setup of SshServer and ScpClient to copy
files (v2.5.0).

The client can be running on win/linux.

I get a SocketTimeoutException when trying to copy a file on a win host.

flush(ChannelOutputStream[ChannelExec[id=0,
recipient=0]-ClientSessionImpl[uxxx...@hostname.domain.com/192.163.23.68:45018]]
SSH_MSG_CHANNEL_DATA) failed (SocketTimeoutException) to wait for
space of len=24576:
waitForCondition(Window[client/remote](ChannelExec[id=0,
recipient=0]-ClientSessionImpl[uxxx...@hostname.domain.com/192.163.23.68:45018]))
timeout exceeded: 30000

I understand that I need to increase the WAIT_FOR_SPACE_TIMEOUT = "
channel-output-wait-for-space-timeout

But I am not exactly sure how to pass these config values when creating the
scpClient.

Please advise, any pointers would be appreciated.

Here are more details:

https://stackoverflow.com/questions/65393076/how-can-increase-the-wait-timeout-for-channeloutputstream-for-scpclient-of-apach

Thanks
Vivek

Reply via email to