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

Allow for jump server in protocol links #9863

Closed
wuillaum opened this issue May 7, 2024 · 6 comments
Closed

Allow for jump server in protocol links #9863

wuillaum opened this issue May 7, 2024 · 6 comments
Assignees
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH

Comments

@wuillaum
Copy link

wuillaum commented May 7, 2024

Currently you can open vscode to a remote location via the following schema

vscode://vscode-remote/ssh-remote+[USER@]HOST[:PORT]/path/to/file

It would be very useful if this were more flexible, especially in terms of allowing a jump host.

In a similar vein of custom ssh options... many people use private repositories, and being able to add the -A flag would be useful as well. Passing the local user agent would allow a user accessing a remote machine to be able to git fetch

@chrmarti
Copy link
Contributor

chrmarti commented May 8, 2024

You could use an SSH config file (~/.ssh/config) to add options for connections to HOST.

@chrmarti chrmarti added the ssh Issue in vscode-remote SSH label May 8, 2024
@wuillaum
Copy link
Author

wuillaum commented May 8, 2024

The protocol links are super useful to me because they work beautifully with dynamically created (typically short-lived) hosts. Clicking a single link to launch vscode saves a ton of time vs configuring ~/.ssh/config or setting up a new remote host within vscode itself.

vscode already supports doing this configuration when you enter the full ssh command here (including agent passing, jump hosts, etc). If this could be expanded with the remote protocol uri too, that would be amazing!

image

@joshspicer
Copy link
Member

Thanks for the feature request, I will add the appropriate label

To expand on Christof's comment, you could add all the necessary flags for a host in the SSH config AND use that host's name in the URI (eg: ssh-remote+<your-host>). Not exactly what you're looking for, but unless you're using these URIs on many computers, it would probably solve your ask without any changes

@joshspicer joshspicer added the feature-request Request for new features or functionality label Dec 16, 2024
@vs-code-engineering vs-code-engineering bot added this to the Backlog Candidates milestone Dec 16, 2024
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 10 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Copy link

This feature request has not yet received the 10 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding

Copy link

🙁 In the last 60 days, this feature request has received less than 10 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

3 participants