{"id":828,"date":"2016-11-18T20:57:16","date_gmt":"2016-11-18T12:57:16","guid":{"rendered":"http:\/\/www.yusian.com\/blog\/?p=828"},"modified":"2016-11-18T20:57:16","modified_gmt":"2016-11-18T12:57:16","slug":"unable-to-negotiate-with-x-x-x-x-port-22-no-matching-host-key-type-found-their-offer-ssh-dss","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/macos\/2016\/11\/18\/205716828.html","title":{"rendered":"Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-dss"},"content":{"rendered":"<p>1\u3001\u64cd\u4f5c\u7cfb\u7edf:macOS Sierra<\/p>\n<p>2\u3001\u6253\u5f00\u7ec8\u7aef\u8fdb\u884cssh\u8fde\u63a5\u7684\u65f6\u5019\u62a5\u5982\u9898\u6240\u793a\u9519\u8bef\u4fe1\u606f<\/p>\n<pre line=\"1\">SianMac:~ Sian$ ssh root@192.168.128.252\nUnable to negotiate with 192.168.128.252 port 22: no matching host key type found. Their offer: ssh-dss<\/pre>\n<p>3\u3001\u89e3\u51b3\u65b9\u6848\uff1a\u5728ssh\u540e\u9762\u52a0\u53c2\u6570-o HostKeyAlgorithms=+ssh-dss<\/p>\n<pre line=\"1\">SianMac:~ Sian$ ssh -o HostKeyAlgorithms=+ssh-dss root@192.168.128.252\nroot@192.168.128.252's password: \n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001\u64cd\u4f5c\u7cfb\u7edf:macOS Sierra 2\u3001\u6253\u5f00\u7ec8\u7aef\u8fdb\u884cssh\u8fde\u63a5\u7684\u65f6\u5019\u62a5\u5982\u9898\u6240\u793a\u9519\u8bef\u4fe1\u606f SianMac:~ Sian$ ssh root@192.168.128.252 Unable to negotiate with 192.168.128.252 port 22: no matching host key type found. Their offer: ssh-dss 3\u3001\u89e3\u51b3\u65b9\u6848\uff1a\u5728ssh\u540e\u9762\u52a0\u53c2\u6570-o HostKeyAlgorithms=+ssh-dss SianMac:~ Sian$ ssh -o HostKeyAlgorithms=+ssh-dss root@192.168.128.252 root@192.168.128.252&#8217;s password:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[8,27,20],"class_list":["post-828","post","type-post","status-publish","format-standard","hentry","category-macos","tag-linux","tag-macos","tag-basics"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=828"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/828\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}