[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Server API: How to communicate connection failures to client


Hi,
I've written my own ssh client, and a sftp server.

The client can connect to the sftp server via a socket (using
direct-streamlocal@xxxxxxxxxxx).Now my client get's a
SSH_MSG_CHANNEL_OPEN_FAILURE msg when the sftp server is not running
(and thus the local socket is not there)and a SSH_MSG_CHANNEL_EOF when
the sftp server is normally running as it should, the connection is
made and then is terminated or crashes.You use direct-tcpip, but this
is handled the same.
Stef

Archive administrator: postmaster@lists.cynapses.org