Vishal Burman

Results 13 comments of Vishal Burman

Hi Michal, At the server end we have set a callback which calls nc_ps_poll(nc_ps, -1, &ncs); after 10 mins nc_ps_poll returns "NC_PSPOLL_SESSION_TERM" and disconnects the callhome device As the client...

Hi Michal, I am not using netopeer so -v2 i cant do But I have added verbosity to the logs using the api's 'nc_verbosity(NC_VERB_DEBUG)' and a callback function added using...

Hi Michal, As per your suggestion, and surfing the internet I found out that, we can add "ClientAliveInterval"/"ServerAliveInterval" option to /etc/ssh/sshd_config file so that the the session can be alive...

Hi Michal, This is just an FYI . As you said that problem was not with libnetconf2 . libssh terminates the connection after 10 minutes if it doesnot gets response...

Hi Michal , In a way yes . I am not changing the the ODL client configuration . I don't have much info on what to change in ODL client...

Hi michal, I went through the implementation of netopeer2 , I implemented that on my application using following steps: 1. Add client 2. Add end point 3. Set endpoint address...

Thanks for the explanation michal . But the nc_server_ssh_set_hostkey_clb I had already set as a part of server initialization , with the private key path provided to the callback. So...

Hi Michal, The function nc_server_ssh_ch_client_add_hostkey , I was already using to set the host_key . Following is the code added: nc_server_ssh_ch_client_add_hostkey(client_name, "ssh_key", -1); nc_server_ssh_ch_client_set_auth_methods(client_name, NC_SSH_AUTH_PUBLICKEY); nc_server_ssh_add_authkey_path("xyz/key.pub", "admin"); And as you...

yeah michal , I had edited the user name prior to posting , its secadmin throughout. I edited for some reasons, but only the user name , others remain the...

I am using the nc_server_ssh_add_authkey_path for user secadmin only as mentioned below nc_server_ssh_add_authkey_path("...xyzpath/key.pub", "secadmin"); and at that path I have provided the public key, which was generated by ssh-keygen. But...