Skip to content
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

query on host key calllback #506

Open
kr234 opened this issue Aug 23, 2024 · 1 comment
Open

query on host key calllback #506

kr234 opened this issue Aug 23, 2024 · 1 comment
Labels
is:question Issue is actually a question.

Comments

@kr234
Copy link

kr234 commented Aug 23, 2024

Hi Team,

In libnetconf2 3.3.3 observe that the host key check callback api(nc_client_ssh_ch_set_auth_hostkey_check_clb)  is not available. Any specific reason for this?
@Roytak
Copy link
Collaborator

Roytak commented Aug 23, 2024

Hello, the callback was removed, because we wanted to have hostkey checks similar to the ones described in man ssh_config. So the callback was replaced by two new API - nc_client_ssh_set_knownhosts_mode and nc_client_ssh_set_knownhosts_path. That being said, I just found out that the Call Home variants of these new APIs are missing, so that needs to be fixed.

Are these 2 new APIs going to be sufficient for you? Or is there something else you'd need the callback for?

@Roytak Roytak added the is:question Issue is actually a question. label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:question Issue is actually a question.
Projects
None yet
Development

No branches or pull requests

2 participants