microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.69k stars 296 forks source link

How to open an local terminal when using Remote - SSH #10380

Closed xiaopao2014 closed 3 weeks ago

xiaopao2014 commented 1 month ago

Type: Feature Request

hi guys, i am an android system developer, using Remote -SSH to connect ubuntu server. Mostly i need to do 3 things : a. open remote folder using vscode remote -ssh , edit code b.using remote bash to build the image c. push the image file to local device using local bash

        The question is: i could'nt find any way to open a local terminal when in Remote-ssh mode

Extension version: 0.113.1 VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Darwin arm64 23.6.0 Modes: Remote OS version: Linux x64 5.15.0-105-generic

joshspicer commented 1 month ago

For (c), perhaps you could try using scp to copy your files from the remote machine back to your local machine.

xiaopao2014 commented 1 month ago

um . yes scp maybe works. In most condiction , we need to open an local terminal to run some command. I think if we to do all things in on window , it would be excellent! For now, what confusing me is there is no way to start an local terminl window when in Remove-ssh mode

Device topo Terminal menu

joshspicer commented 3 weeks ago

Thanks for the diagram. I'd suggest opening a second VS Code window (not connected to your remote machine) to access a local terminal. Conceptually, I think it's helpful to think of your first VS Code window as though you were typing directly on the remote workstation. Using a tool like scp you can copy items between the two machines.

vs-code-engineering[bot] commented 3 weeks ago

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.

Happy Coding!