📚
Documentation
Installation guides, configuration steps, and product documentation.
KB10035 Unable to negotiate with no matching key exchange method found
KB ID: 10035
Product: vProtect
Version: 4.0+
Published: 2021-04-07
Last modified: 2021-04-07
Problem
Can't perform any task on the KVM hypervisor e.g. inventory synchronization or backup of VM. Logs says there is problem with authentication even if there is ssh connection from vprotect server to kvm host.
Solution
Edit ssh configuration so it provide correct encryption algorithms.
Edit /etc/sshd_config file on KVM host and add following lines or update if they already exist:
[root@kvm ~]# vim /etc/ssh/sshd_config
kexalgorithms diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com,hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
Restart ssh service:
[root@kvm ~]# systemctl restart sshd