Reputation: 3707
When connecting to a remote machine using VS Code Remote SSH this act always opens a new VS Code Window. Is there a way to change this behavior to use the existing open window? Thanks
Upvotes: 23
Views: 7791
Reputation: 17918
There is a separate command for this.
You need to do Remote-SSH: Connect Current Window to Host...
instead of Remote-SSH: Connect to Host...
Upvotes: 28
Reputation: 35
vscode open terminal / PowerShell
input:ssh user@hostname and Enter password
Upvotes: -2