Skip to content

fix(agent/agentssh): fix X11 forwarding by improving Xauthority management #11550

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

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

mafredri
Copy link
Member

Fixes #11531

Note: I didn't implement removal of Xauthority entry after disconnect, mainly because it's not necessary and it doesn't seem like OpenSSH does it either.

@mafredri mafredri self-assigned this Jan 10, 2024
@mafredri mafredri force-pushed the mafredri/fix-agentssh-x11-forwarding-xauth branch 2 times, most recently from aab6bff to 43d09a5 Compare January 10, 2024 14:03
@mafredri mafredri force-pushed the mafredri/fix-agentssh-x11-forwarding-xauth branch from 43d09a5 to 63603e0 Compare January 10, 2024 14:08
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic tests 😍. Thanks for doing this. I knew when implementing I didn't do a part of this properly, so happy you did ❤️

@mafredri mafredri merged commit b1d53a6 into main Jan 10, 2024
@mafredri mafredri deleted the mafredri/fix-agentssh-x11-forwarding-xauth branch January 10, 2024 17:04
@github-actions github-actions bot locked and limited conversation to collaborators Jan 10, 2024
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.

X11 forwarding not working with ssh -X session
2 participants