首页 > 代码库 > unable to netotiate with port 22

unable to netotiate with port 22

unable to netotiate with port 22


Ubuntu 16.04上有这个问题


解决办法:


ssh -oHostkeyAlgorithms=+ssh-dss 10.0.0.2


有的是(看报错提示)


ssh -okexAlgorithms=+diffie-hellman-group1-sha1 10.0.0.2



也可写到.ssh/config 里


HostkeyAlgorithms +ssh-dss


kexAlgorithms +diffie-hellman-group1-sha1


本文出自 “linux” 博客,请务必保留此出处http://yangzhiming.blog.51cto.com/4849999/1950534

unable to netotiate with port 22