Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code using Remote SSH - How to open "local" terminal?

I am connected to a remote server via SSH and using the Remote - SSH plugin by VS Code to do so. However, when opening up a terminal, the default terminal is the terminal of the remote server. I know this makes a lot of sense but there are times where I'd like to actually use the local terminal from VS Code as well.

Is there any way to do this or is the terminal limited to the host that VS Code's session is established?

like image 725
LewlSauce Avatar asked May 22 '26 10:05

LewlSauce


1 Answers

If you can SSH back home, an easy way is to open a new terminal in VS Code and ssh home.

EDIT in fact, just search "terminal local" in the Command Palette. This feature exists out-of-the-box in VSCode, see : https://github.com/microsoft/vscode-remote-release/issues/730

like image 74
philb Avatar answered May 27 '26 07:05

philb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!