containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
24k stars 2.43k forks source link

Share SSH agent with Podman container on macOS #23785

Open arthurbarr opened 3 months ago

arthurbarr commented 3 months ago

Feature request description

Since the move to virtiofs, you can no longer share the SSH agent from the macOS host into a Podman container. We need a way to share the SSH agent, particularly so that we can handle hardware SSH keys (e.g. YubiKey), where the key isn't available as a file to mount into the container.

Suggest potential solution

Allow SSH agent (socket) to be shared into a Podman container on macOS.

Have you considered any alternatives?

Alternative for the YubiKey case could be to expose the USB device into the Podman Machine VM, but that isn't possible with Podman and applehv.

Additional context

Briefly discussed in https://github.com/containers/podman/issues/23245

github-actions[bot] commented 2 months ago

A friendly reminder that this issue had no activity for 30 days.