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