SSH-Server disconnect after 3-4 Minutes - WeOnlyDo Discussion board

SSH-Server disconnect after 3-4 Minutes (General questions)

by Michael, Monday, January 25, 2010, 16:08 (5415 days ago)

Hi,

I wrote a little App providing Portforwarding to securely access a terminal server.
Now while working, the connection freezes after 3-4 Minutes.
Within the App, a ssh disconnect event is fired.
Should not be a timeout, since the error occures while working?
What can this error cause?

Thanks,

Michael

Re: SSH-Server disconnect after 3-4 Minutes

by wodDamir, Monday, January 25, 2010, 16:56 (5415 days ago) @ Michael

Hi Michael,

If Disconnected is fired, that means that the component got disconnected from server for some reason.

Does the ErrorText/ErrorCode parameter return anything when Disconnected event is fired?

Do you set Timeout property? Can you try setting it to 0, just to make sure that isn't the problem.

Regards,
Damba

Re: SSH-Server disconnect after 3-4 Minutes

by Michael, Sunday, January 31, 2010, 16:10 (5409 days ago) @ wodDamir

Hi,

I set timeout to 0 and it works now.
Another question: does ssh-server support compression? Does it have to be activated?

Thanks,

Michael

Hi Michael,

If Disconnected is fired, that means that the component got disconnected from server for some reason.

Does the ErrorText/ErrorCode parameter return anything when Disconnected event is fired?

Do you set Timeout property? Can you try setting it to 0, just to make sure that isn't the problem.

Regards,
Damba

Re: SSH-Server disconnect after 3-4 Minutes

by woddrazen, Sunday, January 31, 2010, 23:20 (5408 days ago) @ Michael

Hi Michael,


Yes, compression is supported in wodSSHServer.

You don't need to active it on server side. It's activated automatically.


Drazen