Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH2: Better support for multiple interactive channels & expose shell functions: 3.0 Backport #1897

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

rposky
Copy link
Contributor

@rposky rposky commented Mar 16, 2023

Refer to pull request #1888 for details.

@rposky rposky changed the title 3.0 Backport: SSH2: Better support for multiple interactive channels & expose shell functions SSH2: Better support for multiple interactive channels & expose shell functions: 3.0 Backport Mar 16, 2023
…ractive channel open statuses.

Removed in_request_pty_exec and in_subsystem flags, and removed uses of MASK_SHELL in bitmap, replacing with open channel status queries.
Adding channel argument to read, write, and reset allowing callers to select among multiple open interactive channels.
Adding interactive channel identifier interface as sanctioned path for users to obtain channels ids instead of using channel constants.
Deprecating get_interactive_channel helper and documenting its "legacy" behavior in read, write, and reset doc blocks.
Removing disconnect on timeout in channel close for lack of clarity around timeout origin.
Check for open channel prior to closing in stopSubsystem and reset.
@terrafrost
Copy link
Member

I'm vacationing in California now but I'll try to take a look at this in the next few days!

(I'm gonna be doing https://www.wired.com/story/do-before-you-die-climb-a-redwood/ in a few days!)

@terrafrost terrafrost merged commit 0f8bc61 into phpseclib:3.0 Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants