Skip to content

Conversation

@Reneechang17
Copy link
Contributor

@Reneechang17 Reneechang17 commented Aug 16, 2025

This PR fixes SSH forwarding for exec processes.

Currently, only init processes received the SSH_AUTH_SOCK environment variable when using --ssh flag. Exec processes didn't have access to the SSH agent socket, even though the socket was mounted.

Now we set environment variable for exec processes to match init process behavior, ensuring SSH forwarding works consistently across processes, and refactoring SSH forwarding condition into hostSocketUrl() helper function.

@jglogan jglogan merged commit 3349a90 into apple:main Aug 16, 2025
2 checks passed
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.

2 participants