码迷,mamicode.com
首页 > Web开发 > 详细

unable to netotiate with port 22

时间:2017-07-25 01:00:01      阅读:201      评论:0      收藏:0      [点我收藏+]

标签: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

标签:ssh

原文地址:http://yangzhiming.blog.51cto.com/4849999/1950534

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!