Skip to content

[v13] ensure forwarded SSH agent is always closed#25074

Merged
capnspacehook merged 1 commit intobranch/v13from
bot/backport-24947-branch/v13
Apr 24, 2023
Merged

[v13] ensure forwarded SSH agent is always closed#25074
capnspacehook merged 1 commit intobranch/v13from
bot/backport-24947-branch/v13

Conversation

@capnspacehook
Copy link
Copy Markdown
Contributor

Backport #24947 to branch/v13

Previously when handling an SSH agent forward request from a SSH
connection to a registered SSH node, the forwarding SSH server would
open a SSH channel for the SSH agent but never close it. tsh wasn't
affected by this and would exit cleanly when the SSH session was closed.
OpenSSH ssh would hang waiting for the open SSH agent channel to close,
which would never happen.
@capnspacehook capnspacehook added this pull request to the merge queue Apr 24, 2023
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from smallinsky April 24, 2023 21:25
Merged via the queue into branch/v13 with commit 67f4178 Apr 24, 2023
@capnspacehook capnspacehook deleted the bot/backport-24947-branch/v13 branch April 24, 2023 21:47
@r0mant r0mant mentioned this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentless backport OpenSSH For customers using Teleport and OpenSSH server-access size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants