Michal Tomaszek
03/31/2026, 12:25 PMSSH_AUTH_SOCK is specified on the host, it should be shared with the container. I have the env variable exported, .ssh dir can be read in the container, etc. However, running git pull on any repo shows "Bad owner or permissions on /root/.ssh/config" error. Is there any log that shows sharing of the SSH agent was successful or any other indicator that it works?Erik Osterman (Cloud Posse)
03/31/2026, 4:02 PMAFAIK, whenThis will not work across OS architectures (e.g. mac --> linux)is specified on the host, it should be shared with the container. ISSH_AUTH_SOCK
Erik Osterman (Cloud Posse)
03/31/2026, 4:02 PMMichal Tomaszek
03/31/2026, 5:09 PMMichal Tomaszek
03/31/2026, 5:11 PMErik Osterman (Cloud Posse)
03/31/2026, 6:27 PMMichal Tomaszek
03/31/2026, 7:12 PMErik Osterman (Cloud Posse)
03/31/2026, 7:13 PMErik Osterman (Cloud Posse)
03/31/2026, 7:13 PMJeremy G (Cloud Posse)
04/04/2026, 6:38 PMSSH_AUTH_SOCK environment variable is set on the host, it will be used by Docker, and the
> Docker container will have access to the host SSH agent. The host $HOME/.ssh directory will also
> be mounted automatically (unless you suppress it), so the container will have access to the host's SSH keys
> and configuration, giving you a choice of how to manage your SSH keys.
>
> We recommend you use the host's security mechanisms to secure your SSH keys, and add them to the host's
> SSH agent to make them accessible to the container.
@Michal Tomaszek Are you using Docker? Do you have file/directory ownership mapping working? https://github.com/cloudposse/geodesic/issues/594Erik Osterman (Cloud Posse)
04/05/2026, 12:29 PMJeremy G (Cloud Posse)
04/06/2026, 8:59 AMErik Osterman (Cloud Posse)
04/06/2026, 12:19 PMMichal Tomaszek
04/13/2026, 9:34 AMJeremy G (Cloud Posse)
04/13/2026, 11:04 AMMichal Tomaszek
04/13/2026, 3:54 PM