From f0f8d80073b9fc81854c5938b5f0f7a608b69182 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 29 Mar 2021 08:15:16 -0500 Subject: [PATCH] SSH2: use type boolean for want reply instead of character --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index e4600c36..d0d0aa4e 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -2774,7 +2774,7 @@ class SSH2 $terminal_modes = pack('C', NET_SSH2_TTY_OP_END); $packet = Strings::packSSH2( - 'CNsCsN4s', + 'CNsbsN4s', NET_SSH2_MSG_CHANNEL_REQUEST, $this->server_channels[self::CHANNEL_SHELL], 'pty-req',