Missing support for remote GDB via intermediate remote server #192
Hello @WebFreak001, thank you for your comments, please bear with me, I'm not familiar with npm packages.
I checked the ssh2 package: https://www.npmjs.com/package/ssh2#dynamic-11-port-forwarding-using-a-socksv5-proxy-using-socksv5 It seems that It support port forwarding, but I can't find where to add the username/password/ssh_key_file but ssh2_promise do that: https://www.npmjs.com/package/ssh2-promise#connect-to-ssh-server-via-hopping
I tried in this pull request to change the minimum of code and I just remplaced ssh2 by ssh2-promise
@mohamedchebbii I'm very interested in this, can you please take that up again from current master with plain ssh2?
The way to do the hoping is now explicit documented at https://www.npmjs.com/package/ssh2#connection-hopping, each parameters are "normally" passed on connect.
Maybe you can adjust the proxy settings to be wrapped in an array, this way one can setup zero (array proxy === undefined), one, or even 48 proxies (which would be quite bad, but still).
Even if only "at most one proxy" is supported for now the settings are already setup to add more later - without breaking existing launch configurations.