System error 1783

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
harrii
Posts: 5
Joined: Thu 10 Jan 2013 08:39

System error 1783

Post by harrii » Thu 10 Jan 2013 08:45

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?

harrii
Posts: 5
Joined: Thu 10 Jan 2013 08:39

Re: System error 1783

Post by harrii » Thu 10 Jan 2013 13:13

The problem seems to occur when shell connects. Should I do something in BeforeShellConnect function?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: System error 1783

Post by Dimon » Mon 04 Feb 2013 13:52

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next SecureBridge build.

harrii
Posts: 5
Joined: Thu 10 Jan 2013 08:39

Re: System error 1783

Post by harrii » Mon 11 Feb 2013 14:05

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?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: System error 1783

Post by Dimon » Fri 15 Feb 2013 14:10

We could not reproduce the problem.
Please, specify the exact steps to reproduce the problem. Also try running SSH server as administrator.

harrii
Posts: 5
Joined: Thu 10 Jan 2013 08:39

Re: System error 1783

Post by harrii » Wed 06 Mar 2013 09:23

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?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: System error 1783

Post by Dimon » Fri 19 Apr 2013 12:26

Unfortunately, TScSSHServer does not support shell session under Linux.

Post Reply