Visual Studio remote development server and 1password ssh keys
I use Visual Studio Remote Development (https://code.visualstudio.com/docs/remote/remote-overview)
Any suggestions for using 1password ssh with Visual Studio.
For example, development windows will prompt for SSH key when connecting (or periodically during operations when idle)
1Password Version: 8
Extension Version: Not Provided
OS Version: Not Provided
Comments
-
I don't quite think I follow. VS Code should use the SSH agent on your system; as long as you've set up the 1password SSH agent to be your systemwide SSH agent, it should "just work."
0 -
I am facing the same problem. When I try to access GitHub from the VSCode terminal, on my remote development server, it seems the ssh key is not getting forwarded to the dev server.
$ git pull --tags origin master git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
0 -
Have you tried adding
ForwardAgent yes
in the 1Password agent block?0