pecl-networking-ssh2 icon indicating copy to clipboard operation
pecl-networking-ssh2 copied to clipboard

Cannot specify timeout

Open kaliberx opened this issue 3 years ago • 1 comments

I'm using ssh2 extension. Unfortunately sometimes ssh2_sftp function waits forever because there is no way to specify timeout.

Please consider adding parameter timeout to ssh2_connect function (as in ftp_connect) or implement method ssh2_settimeout. I think it can be easily implemented because libssh supports libssh2_session_set_timeout().

kaliberx avatar Nov 24 '22 06:11 kaliberx

Same problem. ssh2_sftp() hungs forever...

FoxKeys avatar Jan 21 '24 14:01 FoxKeys