Skip to content

ssh2_exec execution stops after 32kb of data #60

@schorschii

Description

@schorschii

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions