Does vscode remote support double ssh?
Have you looked into setting up a tunnel in your ssh config to go to Server-A via Server-B?I believe vscode will respect the tunnels you setup in your .ssh/config file.
After several days of struggling, I have figured it out. As Marc said, vscode respects the tunnels I setup in my .ssh/config file. A sample can be like this:
Host serverB
HostName serverB_ip
PreferredAuthentications publickey
IdentityFile your_key
User you
Host serverA
Hostname serverA_ip
IdentityFile your_key
ProxyJump serverB
User you