Skip to main content
March 31, 2022
Question

Visual Studio remote development server and 1password ssh keys

  • March 31, 2022
  • 3 replies
  • 1007 views

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

3 replies

April 7, 2022

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."

June 7, 2022

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
mailto: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.
```

Fooligan
June 9, 2022

Have you tried adding ForwardAgent yes in the 1Password agent block?