libnetconf2 icon indicating copy to clipboard operation
libnetconf2 copied to clipboard

SSh server in Libnetconf2.

Open vprasad opened this issue 6 years ago • 1 comments

Hi , Wanted a info wrt to the SSH server that Libnetconf2 internally uses. So i can see there are some libssh,libsshthread dependency while compiling Libentconf2 . So question is does Libnetconf2 using its own inbuilt SSH server .? Is there any option via which we can integrate Libnetconf2 with OpenSSH server.This we require because our Network element has OpenSSH server already running.So we don;t to use this OpenSSH server also for Libnetconf2 stuffs.

Thanks,

vprasad avatar Oct 10 '19 04:10 vprasad

Hi, you can establish the transport layer connection yourself and then pass the resulting file descriptors to libnetconf2 using nc_accept_inout(). That is probably what you want to do.

Regards, Michal

michalvasko avatar Oct 10 '19 07:10 michalvasko