{"id":1441,"date":"2022-11-09T13:41:18","date_gmt":"2022-11-09T11:41:18","guid":{"rendered":"https:\/\/www.mcgill.org.za\/stuff\/?p=1441"},"modified":"2022-11-09T13:42:18","modified_gmt":"2022-11-09T11:42:18","slug":"unable-to-negotiate-ssh-after-upgrade","status":"publish","type":"post","link":"https:\/\/www.mcgill.org.za\/stuff\/archives\/1441","title":{"rendered":"&#8220;Unable to negotiate SSH&#8221; after &#8220;upgrade&#8221;"},"content":{"rendered":"\n<p>If you update to Ubuntu LTS (version 22.04), you will want this in your <code>.ssh\/config<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>PubkeyAcceptedKeyTypes +ssh-rsa\nHostKeyAlgorithms +ssh-rsa<\/code><\/pre>\n\n\n\n<p>Failure to do that gets you this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Unable to negotiate with best-friend.server.ssh port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss<\/code><\/pre>\n\n\n\n<p>The dear old NSA of the USA is gently shoving everyone away from effective cryptography towards backdoored nonsense, so you need to now tell your ssh that you want to be able to connect to older servers with fewer cryptographic backdoors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you update to Ubuntu LTS (version 22.04), you will want this in your .ssh\/config: Failure to do that gets you this: The dear old NSA of the USA is gently shoving everyone away from effective cryptography towards backdoored nonsense, &hellip; <a href=\"https:\/\/www.mcgill.org.za\/stuff\/archives\/1441\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[37,16,28,190],"class_list":["post-1441","post","type-post","status-publish","format-standard","hentry","category-stuff","tag-linux","tag-security","tag-ssh","tag-stuff"],"_links":{"self":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts\/1441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/comments?post=1441"}],"version-history":[{"count":2,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts\/1441\/revisions"}],"predecessor-version":[{"id":1443,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/posts\/1441\/revisions\/1443"}],"wp:attachment":[{"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/media?parent=1441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/categories?post=1441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mcgill.org.za\/stuff\/wp-json\/wp\/v2\/tags?post=1441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}