Further to my ssh_channel_open_session question. Here is the API output:

................
[2019/04/23 13:31:11.527493, 2] ssh_userauth_publickey_auto:  Tried every
public key, none matched
[2019/04/23 13:31:11.527502, 2] channel_open:  Creating a channel 43 with
64000 window and 32768 max packet
[2019/04/23 13:*31*:11.528433, 1] ssh_packet_unimplemented:  Received
SSH_MSG_UNIMPLEMENTED (sequence number 5)
[2019/04/23 13:*33*:11.516702, 1] ssh_socket_exception_callback:  Socket
exception callback: 1 (0)
[2019/04/23 13:33:11.516757, 1] ssh_socket_exception_callback:  Socket
error: disconnected

On Tue, Apr 23, 2019 at 8:45 AM Paul Beerkens <
[email protected]> wrote:

> I am doing some final testing on an application using libSSH.
>
> I created a situation where I make an SSH call to a machine with a user that 
> is not permissioned to go to that server.
>
> This is something that is probably going to happen ocasionally.
>
>
> What I am finding is that it takes two minutes for the 
> *ssh_channel_open_session* call to return with SSH_ERROR.
>
> Is there a way I can make this much faster? I can not see a timeout 
> equivelant function of ssh_channel_open_session.
>
> This is both a problem becuase it is going to clog up my thread pool and 
> because we can not inform the user for several minutes that there is an issue.
>
>
> Do you have any advise on how to deal with a ssh_channel_open_session call 
> taking 2 minutes?
>
>
> Paul
>
>
>
>
>
>

Reply via email to