{"id":317,"date":"2018-04-04T10:21:41","date_gmt":"2018-04-04T09:21:41","guid":{"rendered":"https:\/\/zed-network.fr\/?p=317"},"modified":"2020-08-24T19:33:25","modified_gmt":"2020-08-24T18:33:25","slug":"cisco-asa-ssh-issue","status":"publish","type":"post","link":"https:\/\/zed-network.fr\/?p=317","title":{"rendered":"How to resolve ssh issue on Cisco ASA"},"content":{"rendered":"<p>Tested in version 9.6(1)<\/p>\n<pre>~# ssh admin@x.x.x.x\nUnable to negotiate with x.x.x.x port 22: no matching key exchange method fouer: diffie-hellman-group1-sha1<\/pre>\n<p>First method:<\/p>\n<pre> # ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 admin@x.x.x.x\nadmin@x.x.x.x's password:\nType help or '?' for a list of available commands.\nASA1\/act\/pri&gt;<\/pre>\n<p>Second method:<\/p>\n<pre>ASA1\/act\/pri(config)# ssh key-exchange group ?\n\nconfigure mode commands\/options:\n dh-group1-sha1 Diffie-Hellman group 2\n <strong>dh-group14-sha1 Diffie-Hellman group 14<\/strong>\n\nASA1\/act\/pri(config)# ssh key-exchange group dh-group14\n\nASA1\/act\/pri(config)# wr<\/pre>\n<p>Disconnect and reconnect:<\/p>\n<pre># ssh admin@x.x.x.x\nadmin@x.x.x.x's password:\nType help or '?' for a list of available commands.\nASA1\/act\/pri&gt; en<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tested in version 9.6(1) ~# ssh admin@x.x.x.x Unable to negotiate with x.x.x.x port 22: no matching key exchange method fouer: diffie-hellman-group1-sha1 First method: # ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 admin@x.x.x.x admin@x.x.x.x&#8217;s password: Type help or &#8216;?&#8217; for a list of available commands. ASA1\/act\/pri&gt; Second method: ASA1\/act\/pri(config)# ssh key-exchange group ? configure mode commands\/options: dh-group1-sha1 Diffie-Hellman group 2 dh-group14-sha1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[4,14],"tags":[],"class_list":["post-317","post","type-post","status-publish","format-standard","hentry","category-cisco","category-security"],"_links":{"self":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=317"}],"version-history":[{"count":2,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/317\/revisions"}],"predecessor-version":[{"id":556,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/317\/revisions\/556"}],"wp:attachment":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}