microsoft / microsoft/vscode-remote-release
[remote] close remote connection should connect to hosting remote
@aeschli is already working on this.
Since Dec 7, 2023.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
One way I found to exit from a local devcontainer was to click on Close remote connection. I was surprised when I did first a remote ssh connection and then from there I opened a 'local' devcontainer session. When I clicked in Close remote connection from the devcontainer one I expected to end the devcontainer session but I was disconnected from the SSH session too. This is confusing and it is probably a good idea to preserve the hierarchy of connections for user experience. A common workflow is to remote ssh to powerful machine and then work on different projects, so getting disconnected to switch projects is a bit of an annoyance.
- VSCode Version: 1.52.1
- Local OS Version: Mac OS 13.5.2
- Remote OS Version: Ubuntu 22.04
- Remote Extension/Connection Type: Containers/Server
- Logs:
Steps to Reproduce:
- Connect to a remote ssh
- From the remote vs code session open a devcontainer
- From the devcontainer select `Close remote connection``
What I expect is to get out of the devcontainer but VS Code gets me out of both the devcontainer and the ssh remote connection.
Does this issue occur when you try this locally?: Yes/No
Does this issue occur when you try this locally and all extensions are disabled?: Yes/No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.