Page 1 of 1

SimpleSSHServer demo is the problem.

Posted: Fri 29 Mar 2013 01:48
by gscm
Hi.
SimpleSSHServer demo is the problem.
What is the problem?

Environment:
- Windows 7 64bit Ultimate
- Delphi xe2 update4 hotfix 1
- SecureBridge 5.5(04-Feb-13)

Reproduction:
1. Run SimpleSSHServer.exe as administrator.
2. "test" user password = 1.
3. log in to it with PuTTY.
4. PuTTY is disconnected immediately.

Re: SimpleSSHServer demo is the problem.

Posted: Mon 13 May 2013 10:00
by Dimon
It is possible that your SSH server application doesn't have privileges to create a new process using the CreateProcess function of WinAPI.
To solve the problem, you can set the TScUser.Authentications property for SSH user to the [uaOSAuthentication] value. In this case, SSH server will use the CreateProcessWithLogonW function of WinAPI, and this can solve the problem.

Re: SimpleSSHServer demo is the problem.

Posted: Tue 14 May 2013 13:38
by gscm
Thank you for your help. It works.