Closed ghost closed 6 years ago
Hi,
I believe ~/.ssh/config
is the configuration file of ssh(1)
, it has nothing to do with any other SSH applications or libraries. So, we would have to implement support for proxy manually, which is definitely not happening for libnetconf and only if there were more requests we would think about supporting it for libnetconf2.
Regards, Michal
Thanks. Do you know of any workaround for this?
Hi, not really. The only solution I can imagine is configuring this proxy on some lower level protocol options such as TCP/IP. I do not know if Linux supports anything like this out-of-the-box but my guess would be that it might.
Regards, Michal
I am calling
nc_session_connect("10.0.0.1", 830, "user", NULL)
. The function is timing out and displaying the below error:The command line
ssh user@10.0.0.1 -p 830 -s netconf
works fine.Note there is a proxy config, which looks like the below:
Any ideas why this could be happening?