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().
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().