1. 程式人生 > >unable to netotiate with port 22

unable to netotiate with port 22

ssh

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