Description
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:
Host gdb_server
Hostname xxx.yyy.zz.aa
Port 2038
User <someuser>
ServerAliveInterval 60
ProxyCommand ssh <intermediate_user>@<intermediate.server.com> nc %h %p %r
If I use this configuration:
"ssh": {
"host": "gdb_server",
"cwd": "<app_root_path@remote_server>",
"keyfile": "/home/(omitted)/.ssh/id_rsa",
"user": "<intermediate_user>",
"port": 2038,
"bootstrap": "<some scripts>"
}
I get the following error:
Could not run gdb over ssh!
Error: getaddrinfo ENOTFOUND gdb_server:2038
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!