Page 1 of 1

System error 1783

Posted: Thu 10 Jan 2013 08:45
by harrii
Hi. I have 64-bit Windows 7 and C++Builder XE3. I have set up ScSSHServer, but when I'm connecting to the server with PuTTY or linux ssh, I get the following error after authentication:

System error: Code: 1783: The stub received bad data.

The client is disconnected immediately. What am I doing wrong?

Re: System error 1783

Posted: Thu 10 Jan 2013 13:13
by harrii
The problem seems to occur when shell connects. Should I do something in BeforeShellConnect function?

Re: System error 1783

Posted: Mon 04 Feb 2013 13:52
by Dimon
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SecureBridge build.

Re: System error 1783

Posted: Mon 11 Feb 2013 14:05
by harrii
Thanks. No more system errors :)

Still, I'm a bit confused: If I enable the shell in putty, the shell gets disconnected immediately and client (putty) gets disconnected too. How can I get the shell and client to stay connected?

Re: System error 1783

Posted: Fri 15 Feb 2013 14:10
by Dimon
We could not reproduce the problem.
Please, specify the exact steps to reproduce the problem. Also try running SSH server as administrator.

Re: System error 1783

Posted: Wed 06 Mar 2013 09:23
by harrii
You can test the situation easily with PuTTY.
I have a basic setup in my test server: only ScSSHServer and ScFileStorage.
Then I try to connect to it with PuTTY. It connects ok, but after the shell connects, PuTTY gets disconnected immediately (server closes the connection). If I check the checkbox "Don't start a shell or command at all" in PuTTY options (Connection->SSH), there is no problem. The problem is that I have to be able to use a linux client which has shell enabled.

So how should the shell work? Do I need some component or service to my test server to be able to connect with shell?

Re: System error 1783

Posted: Fri 19 Apr 2013 12:26
by Dimon
Unfortunately, TScSSHServer does not support shell session under Linux.