SSH key forwarding using remote ssh with a dev container #10118
Labels
containers
Issue in vscode-remote containers
info-needed
Issue requires more information from poster
I use vscode to develop on a remote machine using ssh and running a dev container on that machine.
When using one of the pre-built dev containers, I can use the git key from my local machine to access github
When using my custom dev container, it does not work
ssh-add -l
shows the correct keyBut when connecting to github, it says:
I've tried many things, so I'll write the base configuration:
devcontainer:
dockerfile:
When using the pre-built devcontainer image but adding steps to the docker file, the key also works
What is missing from the custom image?
The text was updated successfully, but these errors were encountered: