{"id":742,"date":"2016-06-07T18:06:53","date_gmt":"2016-06-07T18:06:53","guid":{"rendered":"http:\/\/vickistan.com\/?p=742"},"modified":"2016-06-07T18:10:55","modified_gmt":"2016-06-07T18:10:55","slug":"openssh-legacy-options","status":"publish","type":"post","link":"https:\/\/vickistan.com\/?p=742","title":{"rendered":"OpenSSH Legacy Options"},"content":{"rendered":"<p>If you are using an updated openssh package and suddenly can&#8217;t connect to sites that you could before the update, you can add an option to your .ssh\/config file (create it if you don&#8217;t have one).<\/p>\n<p>If you see this error:<\/p>\n<p>Unable to negotiate with 127.0.0.1: no matching key exchange method found.<br \/>\nTheir offer: diffie-hellman-group1-sha1<\/p>\n<p>add this:<\/p>\n<p>Host somehost.example.org<br \/>\n\tKexAlgorithms +diffie-hellman-group1-sha1<\/p>\n<p>If you see this error:<\/p>\n<p>Unable to negotiate with 127.0.0.1: no matching host key type found.<br \/>\nTheir offer: ssh-dss<\/p>\n<p>add this instead:<\/p>\n<p>Host somehost.example.org<br \/>\n\tHostkeyAlgorithms ssh-dss<\/p>\n<p>There are command line versions of these as well. <\/p>\n<p>ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@127.0.0.1 <\/p>\n<p>ssh -oHostKeyAlgorithms=+ssh-dss user@127.0.0.1<\/p>\n<p>Note: It is worth noting that these weaker cyphers were removed from the configuration for a reason. If there is another way to connect without enabling them, it might be worth considering.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are using an updated openssh package and suddenly can&#8217;t connect to sites that you could before the update, you can add an option to your .ssh\/config file (create it if you don&#8217;t have one). If you see this &hellip; <a href=\"https:\/\/vickistan.com\/?p=742\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-742","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=742"}],"version-history":[{"count":4,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/742\/revisions"}],"predecessor-version":[{"id":746,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/742\/revisions\/746"}],"wp:attachment":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}