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

Re: Why SSH_TIMEOUT_DEFAULT is always used in channel functions


Hi,

I've actually created a PPA for libssh stable releases (sometimes i am
late by few weeks, but i try to follow all the releases):
-> https://launchpad.net/~kedazo/+archive/ubuntu/libssh-0.7.x

Br,
David Kedves

On Wed, Jul 10, 2019 at 12:10 AM Franciszek Juras
<franciszekjuras@xxxxxxxxx> wrote:
>
> Is there any ppa with latest libssh?
>
> wt., 9 lip 2019, 13:27 użytkownik Andreas Schneider <asn@xxxxxxxxxxxxxx> napisał:
>>
>> On Tuesday, July 9, 2019 11:40:28 AM CEST Franciszek Juras wrote:
>> > Hi,
>> > I'm using libssh version 0.8.6 to send files and commands to a device. I
>> > noticed, that if I disconnect ethernet cable, functions like
>> > ssh_channel_request_exec or ssh_channel_open_session hang for a very long
>> > time. After looking through the code I discovered, that all channel
>> > functions use SSH_TIMEOUT_DEFAULT, thus ignoring user specified timeout.
>> > Is this intended? If yes, how can I prevent my program from hanging in such
>> > situations?
>>
>> Please use libssh 0.9.
>>
>> --
>> Andreas Schneider                 asn@xxxxxxxxxxxxxx
>> GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
>>
>>

Follow-Ups:
Re: Why SSH_TIMEOUT_DEFAULT is always used in channel functionsAndreas Schneider <asn@xxxxxxxxxxxxxx>
References:
Why SSH_TIMEOUT_DEFAULT is always used in channel functionsFranciszek Juras <franciszekjuras@xxxxxxxxx>
Re: Why SSH_TIMEOUT_DEFAULT is always used in channel functionsAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: Why SSH_TIMEOUT_DEFAULT is always used in channel functionsFranciszek Juras <franciszekjuras@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org