mongodb-js/vscode

When editing connection on a remote VS code session the SSH Identity File select a file button pop up a local file selector for my local Window machine

robert-stedman-at-mediakind-com opened this issue · 2 comments

Can I set a remote host location for SSH Identity file some how?

I am using VS code on a Window PC to remote connect to an Ubuntu host. I want the remote Ubuntu host to be able to SSH tunnel into another Centos machine running MongoDB. During edit connections the SSH Identity file button pops up a local file selection dialogue but this SSH identity file is non the remote Ubuntu host.

Screenshot 2024-06-07 at 10 01 38 AM Does the file selection give you an option to `Show Local`? Does that work? It sounds like you can workaround the issue for now by moving the file over.

There is some documentation on how to run extensions locally or remote, I'm thinking that could be the solution:
https://code.visualstudio.com/docs/remote/ssh#_advanced-forcing-an-extension-to-run-locally-remotely
Let us know if that works! Sorry for the late reply.

Closing because of lack of activity on the issue.