{"id":8923,"date":"2023-10-09T19:30:58","date_gmt":"2023-10-09T19:30:58","guid":{"rendered":"https:\/\/www.linuxandotherstuff.com\/?p=8923"},"modified":"2023-10-09T19:30:58","modified_gmt":"2023-10-09T19:30:58","slug":"unable-to-negotiate-with-1domain-com-port-22-no-matching-host-key-type-found-their-offer-ssh-rsassh-dss","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2023\/10\/09\/unable-to-negotiate-with-1domain-com-port-22-no-matching-host-key-type-found-their-offer-ssh-rsassh-dss\/","title":{"rendered":"Unable to negotiate with 1domain.com port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss"},"content":{"rendered":"\n<p>This error for ssh can be solved with the following information.<\/p>\n\n\n\n<p>-Reattempt your SSH connection, adding the following to your command line:<\/p>\n\n\n\n<p>-oHostKeyAlgorithms=+ssh-rsa<\/p>\n\n\n\n<p>ie.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nssh -oHostKeyAlgorithms=+ssh-rsa fatjacks@69.160.53.87\n<\/pre><\/div>\n\n\n<p>or<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nssh -oHostKeyAlgorithms=+ssh-dsa fatjacks@69.160.53.873\n<\/pre><\/div>\n\n\n<p>You can also try modifying the local(your computer) SSH configuration to add the below values to make this change permanent.<\/p>\n\n\n\n<p>-Type sudo nano ~\/.ssh\/config, then enter your administrative password if prompted.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nHost controls\n    HostName domain.com\n    IdentityFile ~\/.ssh\/domain.pem\n    User root\n    Port 22\n    ServerAliveInterval 120\n    HostKeyAlgorithms +ssh-rsa\n<\/pre><\/div>\n\n\n<p><br><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This error for ssh can be solved with the following information. -Reattempt your SSH connection, adding the following to your command line: -oHostKeyAlgorithms=+ssh-rsa ie. or You can also try modifying the local(your computer) SSH configuration to add the below values to make this change permanent. -Type sudo nano ~\/.ssh\/config, then enter your administrative password if &#8230; <a title=\"Unable to negotiate with 1domain.com port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2023\/10\/09\/unable-to-negotiate-with-1domain-com-port-22-no-matching-host-key-type-found-their-offer-ssh-rsassh-dss\/\" aria-label=\"Read more about Unable to negotiate with 1domain.com port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[],"class_list":["post-8923","post","type-post","status-publish","format-standard","hentry","category-ssh"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/8923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=8923"}],"version-history":[{"count":1,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/8923\/revisions"}],"predecessor-version":[{"id":8924,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/8923\/revisions\/8924"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=8923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=8923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=8923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}