I connect to a server within Visual Studio Code using SSH ("Remote-SSH: Connect to Host..."). When working in the terminal within VS Code, the command code <file> results in opening the file in VS Code of the client (therefore on my screen). Now let's suppose I establish another SSH connection from the current session to a workstation within the network of the server using ssh <some workstation>. When I now try to open a file in VS Code using code <file>, nothing happens.
My questions are:
- Since the last
code <file>mentioned didn't open anything on my screen, is it possible that VS Code did open on any other screen connected to either the server or the workstation? - Is there any possibility to open the file within my VS Code?