pecl-networking-ssh2
pecl-networking-ssh2 copied to clipboard
ssh2_exec execution stops after 32kb of data
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.