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