php / pecl-networking-ssh2

Bindings for the libssh2 library
http://pecl.php.net/package/ssh2
Other
51 stars 58 forks source link

ssh2_exec execution stops after 32kb of data #60

Open schorschii opened 2 years ago

schorschii commented 2 years ago

ssh2_exec works fine with short commands but fails with PHP Warning: ssh2_exec(): Unable to request command execution on remote host when trying to send long commands (41269 chars in my example). The magical limit seems to be 32KB.

Tested with v1.2 on Debian 11 with PHP 7.4.