Open wuillaum opened 6 months ago
You could use an SSH config file (~/.ssh/config
) to add options for connections to HOST
.
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!
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 togit fetch