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

ssh2_exec execution stops after 32kb of data

Open schorschii opened this issue 2 years ago • 0 comments

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.

schorschii avatar Jul 21 '22 10:07 schorschii