Advertisements
Case 1
ssh root@192.168.1.1;
Unable to negotiate with 192.168.1.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
We solved this problem using the following command:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 root@192.168.1.1;
Case 2
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 root@192.168.1.1;
Unable to negotiate with 192.168.1.1 port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
We solved this problem using the following command:
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss root@192.168.1.1;