On MacOS, Remote-Containers: Open Repository in Container fails if my local config has entries that linux doesn't understand. For instance, the GitHub-suggested default of:
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
Will cause the clone stage to fail with the above error.
Possibly related to work in cloning the local ssh over to the remote in #1980?
I had a similar issue with git clone.
Fixeb by adding to the first line of the file:
IgnoreUnknown AddKeysToAgent,UseKeychain
Adding this under "Host *" is not effective.
Is this still a problem? We no longer mount .ssh/config into the container.
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Most helpful comment
I had a similar issue with git clone.
Fixeb by adding to the first line of the file:
IgnoreUnknown AddKeysToAgent,UseKeychain
Adding this under "Host *" is not effective.