I'm running an ubuntu image in a docker container, with my .ssh directory mounted from my native MacOs environment.
My .ssh/config file contains
Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_ed25519_common
This works fine on a mac, but AddKeysToAgent and UseKeychain are not valid for linux, and anything (e.g. git) that uses the openssh-client package won't just ignore the unrecognised directives, but fail and exit.
Is there any way of having a .ssh/config file that will let me share it across mac and linux?