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?
System error 1783
Re: System error 1783
The problem seems to occur when shell connects. Should I do something in BeforeShellConnect function?
Re: System error 1783
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
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?

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
We could not reproduce the problem.
Please, specify the exact steps to reproduce the problem. Also try running SSH server as administrator.
Please, specify the exact steps to reproduce the problem. Also try running SSH server as administrator.
Re: System error 1783
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?
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
Unfortunately, TScSSHServer does not support shell session under Linux.