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.
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