Unable to negotiate with ipaddress port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

Problem:

在連舊系統時,發生sha1的問題

% ssh root@10.10.10.10   
Unable to negotiate with 10.10.10.10 port 22: no matching key exchange method found. 
Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

Solution:

ssh 帶入連線參數 -oKexAlgorithms=+diffie-hellman-group1-sha1

% ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 root@10.10.10.10  

張貼留言

0 留言