Timeout value in ConnectionInfo - not used for Sftp?

Jan 14, 2014 at 6:53 PM
Edited Jan 14, 2014 at 6:54 PM
When doing ListDirectory on an SftpClient where you are connected to a server that has silently disconnected (wlan down), SSH.NET will hang indefinately (I waited at least 20 minutes).

I have set a timeout on ConnectionInfo, but that does not change anything.
Setting OperationTimeout on the SftpClient works however.

So what does the Timeout property on ConnectionInfo do?
Is that only for the initial connection attempt?
Jul 3, 2014 at 3:12 PM
I have the same issue with attempting a connection.
I have the sftpClient.ConnectionTimeout set to 60 seconds.
this seems to only validate between the reading of bytes from the async response.
Not if a valid connection is made.

Is there a way to actually set a timeout on the full connection itself?