I am trying to use VSCode's extension remote-ssh from CLI to connect to a server through a ProxyJump.
For now, I am using an ssh config file that has the following structure:
Host myserver
ProxyJump user@jumpserver
User user
ForwardX11 true
ForwardX11Trusted yes
Hostname remoteserver
and from CLI I can open a folder on the server with:
code --folder-uri "vscode-remote://ssh-remote+myserver/path/to/folder"
Do you know if is possible to open such a folder without the need for a config file?
Edit: To be more clear, I already know the possibility for VScode to connect to a folder in an ssh server without config file, but simply using command line, via:
code --folder-uri "vscode-remote://ssh-remote+username@server_ip_address/path/to/folder"
I want to know if there is the same possibility, but using a jump server.