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

libssh channel_request_exec timeout


Hello, everyone!

I have a question! Is there any way to control timeout of execution commands
on remote server with libssh?

For example when i call channel_request_exec function with some shell
command i suppose that this call is blocking execution of my daemon for some
time, but what if i want to limit that waiting time to something like 60 sec
etc...

Can someone explain me how it could be achieved in libssh ?

-- 
Best wishes
Konstantin Satunin
ICQ 592327
WWW http://mercenaries.net.ru

Follow-Ups:
Re: libssh channel_request_exec timeoutAris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org