-
Notifications
You must be signed in to change notification settings - Fork 122
Missing support for remote GDB via intermediate remote server #192
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
Comments
the extension is using the https://www.npmjs.com/package/ssh2 library which is a pure JS implementation of SSH and doens't support loading that ssh/config file. So instead it would be necessary to load and parse the ssh config for the current user with all ssh options which we want to support considered. |
@WebFreak001 : Can you please add the socksv5 to support remote GDB via intermediate remote server ? |
I changed the code, instead of using ssh, I used ssh-promise, and It's working |
@mohamedchebbii That is great. It would be possible for you to share your modified code or create a pull request that could help @WebFreak001 bringing this, if possible, into the extension? Thanks both of you for your work! |
I'm trying to use the extension to debug some C code in a remote server. That server is defined in my .ssh/config as 'gdb_server' and is accessed via an intermediate remote server:
If I use this configuration:
I get the following error:
Using the 'port' to '22' returns the same error.
Couldn't find any other parameter to configure this kind of 'intermediate-ssh' setup. In other cases, I've been able to use the extension to debug in a server accessible from my computer without any issue.
I guess the idea should be (I have no idea how the extension works internally so I don't know how hard it is), to enable the support of 'ssh/config named configurations', like gdb_server in this example.
Thanks for your time,
C
P.D: In any case this extension is awesome!
The text was updated successfully, but these errors were encountered: