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

Re: Hangs on password queries once SSH session is up


Hi Pierre,

> The problem I am seeing happens *after* I have authenticated and set
> up the SSH terminal session.

I'm sorry I mistook your problem.

> Are these linux commands (ftp, sudo, &c) using the SSH authentication
> mechanisms again? 

No, they're basically standard applications using the console to
read/write characters on stdout/stdin.
So if I understand, your problem is that channel_poll is blocking. This
is indeed a problem and should not happen. In order to help us find out
what happens, could you:

-tell which version of libssh you're using (master from git, release, ...)
-call the ssh_options_set() function with the verbosity level set to the
highest level (which dumps a call trace) and attach the output in your mail
-compiling your application with full debugging symbols, running your
program in gdb, then ^C it when the problem happens, then dump a C/P of
the result of the following command:
bt

Thanks,

Aris

Follow-Ups:
Re: Hangs on password queries once SSH session is upPierre Lewis <leware@xxxxxxxxxxxxxxxx>
References:
Re: Hangs on password queries once SSH session is upleware@xxxxxxxxxxxxxxxx
Archive administrator: postmaster@lists.cynapses.org