0

I have a remote host and because Jetbrains Gateway Pycharm is not free and not as good as pycharm, I am going to use vscode on my mac to do remote development.

On my remote host that is a gcp VM sandbox I have two project that I want to have them open at the same time, and if possible, in the same windows in vscode to be able to easily navigate between them

How can I have two different connections active at the same time?

I tried this:

in my mac I modified ~/.ssh/config as below:

suppose the ip address of my Sandbox is 10.100.36.54

Host A1
  HostName 10.100.36.54
  IdentityFile ~/.ssh/google_compute_engine
  User myuser
Host A2
  HostName 10.100.36.54
  IdentityFile ~/.ssh/google_compute_engine
  User myuser

I do I the setup on vscode

It is now showing me two different connections in my vscode each pointing to a different directory. but once I open one of them the other one is deactivated (is not green)

I also dont know how to open both of them in the same window in vscode.

I also tried workspace. both directories are showing there but none of them are connected to ssh; both are showing yellow which means the connection is not established

Amin Ba
  • 1,603
  • 1
  • 13
  • 38

0 Answers0