Tech
Share .ssh/config with your devcontainer
How to share your ~/.ssh/config with devcontainers
The purpose is to enable using git with your provider directly from the devcontainer.
The problem is when running on mac-OS you typically add UseKeychain yes to your config file. Which is a mac specific setting killing your ssh agent.
MacOS - first
Your ~/.ssh folder probably looks something like this:
❯ tree
.
├── config
├── hetzner_id_ed25519
├── hetzner_id_ed25519.pub
├── known_hosts
├── known_hosts.old
├── README...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to