libnetconf2 icon indicating copy to clipboard operation
libnetconf2 copied to clipboard

NETCONF SSH login failed

Open eagle9063 opened this issue 4 years ago • 6 comments

The NETCONF service runs on port 830, and the client connects to the NETCONF server. At this time, the server reports the following error: [2021/07/06 08:24:20.704879, 4] ssh_pki_import_privkey_base64: Trying to decode privkey passphrase=false [2021/07/06 08:24:20.705059, 4] ssh_pki_openssh_privkey_import: Opening OpenSSH private key: ciphername: none, kdf: none, nkeys: 1 [2021/07/06 08:24:20.705089, 4] pki_openssh_import_privkey_blob: Unsupported private key method ssh-rsa [2021/07/06 08:24:20.705104, 1] ssh_bind_options_set: >>>ssh_pki_import_privkey_file: rc[-1] value[/etc/ssh/ssh_host_rsa_key] ERROR: Failed to set hostkey "default" (/etc/ssh/ssh_host_rsa_key).

How to solve it? best regards

eagle9063 avatar Jul 06 '21 10:07 eagle9063

What netopeer2 version are you using?

michalvasko avatar Jul 08 '21 12:07 michalvasko

netopeer2-0.4-r1

eagle9063 avatar Jul 09 '21 03:07 eagle9063

Okay, that must be several years old so I am sorry but we do not provide support for that old versions.

michalvasko avatar Jul 09 '21 06:07 michalvasko

Okay,I may be know why。The FAQ provides an explanation. But,how to compile libssh without supporting * gcrypt*?

eagle9063 avatar Jul 09 '21 08:07 eagle9063

Obviously, that question concerns libssh, not libnetconf2. But in all likelihood by some cmake parameters.

michalvasko avatar Jul 09 '21 08:07 michalvasko

Thank you very much for your answer,thanks!

eagle9063 avatar Jul 09 '21 08:07 eagle9063