libnetconf2 icon indicating copy to clipboard operation
libnetconf2 copied to clipboard

SSH connect problem

Open cigdem123 opened this issue 2 years ago • 3 comments

I'm connecting with socket but i'm getting this error when connecting via ssh :

server -s /home/yagmur/.ssh/id_rsa Using SSH! [ERR]: Failed to set hostkey "server_hostkey" (/home/yagmur/.ssh/id_rsa). Error while accepting a hello message.

client -s get-config candidate [ERR]: Starting the SSH session failed (Socket error: Connection reset by peer). Couldn't connect to the server

How can i solve this problem ?

cigdem123 avatar Mar 22 '23 06:03 cigdem123

Not sure what the problem is, there are no details. What libssh version are you using?

michalvasko avatar Mar 22 '23 10:03 michalvasko

I'm using version -0.9.3-2ubuntu2.2

cigdem123 avatar Mar 22 '23 11:03 cigdem123

I see, then libnetconf2 was supposed to refuse to compile, not sure why it did. Anyway, you need to update libssh to a working version.

michalvasko avatar Mar 22 '23 11:03 michalvasko