Vscode remote ssh over boundary connection

I’m starting to look at boundary for a use case of connecting to a remote development system via the vscode remote ssh plugin. Developing on Remote Machines using SSH and Visual Studio Code

After reviewing the docs seems like the best bet is to use boundary connect ssh and passing arguments that setup an ssh tunnel from my local system to the target. Once the tunnel is up then use the vscode UI to connect to the tunnel. Is this a workable approach? Other approaches I’m missing?

Thanks,
Blake

P.S. I really appreciate the learn.hashicorp.com docs for boundary + oidc!!

@trodemaster did you get your approach to work?

We also came across this request recently. The boundary CLI is not very user friendly when using OSS Boundary. Credentials injection is not working here, so when opening a tunnel to a target, you would need the private key on every user’s device … which is really not what we intend to do with boundary. We want less secrets flying around and no manual setup…
When using boundary HCP, you can just start a boundary connect session and use VSCode to connect to localhost and a specific port. This works just fine…
But for the OSS system we are stuck.

@jannik You are correct – with OSS you have to do a bit more work to tie things together. Credential injection is only on the enterprise side.