Skip to content

feat(agentssh): Gracefully close SSH sessions on Close - #7027

Merged
mafredri merged 3 commits into
mainfrom
mafredri/refactor-agent-sshd-sessions
Apr 6, 2023
Merged

mafredri merged 3 commits into
mainfrom
mafredri/refactor-agent-sshd-sessions

Conversation

@mafredri

@mafredri mafredri commented Apr 6, 2023 •

Copy link
Copy Markdown
Member

By tracking and closing sessions manually before closing the underlying
connections, we ensure that the termination is propagated to SSH/SFTP
clients and they're not left waiting for a connection timeout.

Refs: #6177

This PR targets: #7004

@mafredri
mafredri marked this pull request as ready for review April 6, 2023 12:53
Base automatically changed from mafredri/refactor-agent-sshd to main April 6, 2023 16:39
mafredri added 3 commits April 6, 2023 16:42
By tracking and closing sessions manually before closing the underlying
connections, we ensure that the termination is propagated to SSH/SFTP
clients and they're not left waiting for a connection timeout.

Refs: #6177
@mafredri
mafredri force-pushed the mafredri/refactor-agent-sshd-sessions branch from 02056ae to 7b13417 Compare April 6, 2023 16:43
@mafredri
mafredri merged commit aa660e0 into main Apr 6, 2023
@mafredri
mafredri deleted the mafredri/refactor-agent-sshd-sessions branch April 6, 2023 16:57
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants