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

Re: ssh_handle_packets blocking issue


Hi Aris,

>>> >     A verbose log (with ssh_options_set) of the same session would
>>> > greatly

Am using the following code to produce debug output, I presume I
should be seeing output on stderr however I'm unable to see any output
from the library. I've checked the cmake libssh options and it has the
WITH_DEBUG_CALLTRACE cmake option set. During installation of the
library it says that it is installing the Debug installation profile.
Would appreciate if someone could point me as to where I'm going wrong
:)

  int verbosity = SSH_LOG_FUNCTIONS;

    sshbind=ssh_bind_new();
    session=ssh_new();

    ssh_options_getopt(session,&argc,argv);
    ssh_options_set(session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity );


Thanks,
Jeetu

On Wed, Apr 6, 2011 at 9:16 AM, jeetu.golani@xxxxxxxxx
<jeetu.golani@xxxxxxxxx> wrote:
> Hi,
>
>>> >     Could you provide me a backtrace (with full symbols if possible) of
>>> > a
>>> >     stuck process (with the -1 timeout) so I can have an idea of what
>>> >     condition it's waiting for and why it doesn't arrive.
>>> >
>>> >     A verbose log (with ssh_options_set) of the same session would
>>> > greatly
>>> >     help, along with the code snippet you're using to handle ssh
>>> > connexions.
>
> Aris, will get on this right away :)
>
> Thanks guys for helping :)
>
> Bye for now
>
> ebrain.in | Beehive Computing
> Discover and run software from any device around you.
>

Follow-Ups:
Re: ssh_handle_packets blocking issueAris Adamantiadis <aris@xxxxxxxxxxxx>
References:
Re: ssh_handle_packets blocking issue"Sharon Heath" <Sharon.Heath@xxxxxxxxxxxxxxxxxxxxxx>
Re: ssh_handle_packets blocking issue"jeetu.golani@xxxxxxxxx" <jeetu.golani@xxxxxxxxx>
Re: ssh_handle_packets blocking issueAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: ssh_handle_packets blocking issue"jeetu.golani@xxxxxxxxx" <jeetu.golani@xxxxxxxxx>
Re: ssh_handle_packets blocking issueAris Adamantiadis <aris@xxxxxxxxxxxx>
Re: ssh_handle_packets blocking issueMikhail Kulinich <tysonite@xxxxxxxxx>
Re: ssh_handle_packets blocking issueAris Adamantiadis <aris@xxxxxxxxxxxx>
Re: ssh_handle_packets blocking issueMikhail Kulinich <tysonite@xxxxxxxxx>
Re: ssh_handle_packets blocking issue"jeetu.golani@xxxxxxxxx" <jeetu.golani@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org