Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please allow for multiple tunnels on same machine #192946

Closed
fordflip opened this issue Sep 13, 2023 · 1 comment
Closed

please allow for multiple tunnels on same machine #192946

fordflip opened this issue Sep 13, 2023 · 1 comment
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@fordflip
Copy link

fordflip commented Sep 13, 2023

It would be amazing if remote tunneling didn't force us into one server per machine (i.e. allow optional work around of #171520)

An amazing feature of tunnel is to be able to use it in HPC environments, for example starting up a tunnel through an sbatch job with specific allocated resources. This allows users to connect to the newly created tunnel and use vscode's debugging with specific resources managed through cluster management systems like slurm.

The issue is that if this happens more than once on a machine, any slurm allocation after the first will just point users to the tunnel of the first allocation, leading to conflict of resources. This would be an easy solution to workflow issues described in microsoft/vscode-remote-release#1722 .

Could supporting multiple tunnels on a machine be brought back?

@connor4312
Copy link
Member

You can do this by passing different --cli-data-dir's when starting the tunnel.

@connor4312 connor4312 added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Sep 13, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants