Re: SSH Key exchange (Kex error)

2024-01-31 Thread Bhautik Radadiya
Yes, we tried through manual ssh command like below, and we are into the devide. ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 Device_ip -p Port Not sure what's stopping us through libssh. Thanks Bhautik On Wed, Jan 31, 2024, 5:38 PM Andreas Schneider wrote: > On Wednesday, 31 January 2024

Re: SSH Key exchange (Kex error)

2024-01-31 Thread Andreas Schneider
On Wednesday, 31 January 2024 11:31:53 CET Bhautik Radadiya wrote: > Hi, Hi, > Hope you all are well! > I am facing this (kex error : no match for method kex algos) issue in my > application while trying to connect to device. > I am using libssh 0.9.5. > I added this below line in my sshlib file

SSH Key exchange (Kex error)

2024-01-31 Thread Bhautik Radadiya
Hi, Hope you all are well! I am facing this (kex error : no match for method kex algos) issue in my application while trying to connect to device. I am using libssh 0.9.5. I added this below line in my sshlib file but not working it. ssh_option_set (my_session, SSH_OPTIO NS_KEY_EXCHANGE,