« Return to Thread: Problems with SSH server

Re: Problems with SSH server

by Peter Gutmann :: Rate this Message:

Reply to Author | View in Thread

Alex Komratov <komratov@...> writes:

>SSH session was created and customized successfully. After calling
>cryptSetAttribute(CRYPT_SESSINFO_ACTIVE,1) is blocking until timeout or
>connection. But when a client is trying to connect it hangs for some time and
>drop after timeout code -25. When I watched server I found out it crashes
>with code -50 i.e. CRYPT_ENVELOPE_RESOURCE.

You haven't told the server how to authenticate the client.  The
CRYPT_ENVELOPE_RESOURCE is the server code telling you it needs information to
allow it to authenticate the client, and the CRYPT_ERROR_TIMEOUT is the client
timing out because the server hasn't responded to its authentication request.

Peter.

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

 « Return to Thread: Problems with SSH server