{"id":1312,"date":"2015-08-06T15:54:16","date_gmt":"2015-08-06T22:54:16","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1312"},"modified":"2015-08-13T17:16:48","modified_gmt":"2015-08-14T00:16:48","slug":"unable-to-ssh-into-cisco-pix","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1312","title":{"rendered":"Unable to ssh into Cisco PIX or ASA"},"content":{"rendered":"<p>After a reboot of our Cisco PIX I was unable to login remotely using ssh.  The first thing I tried doing was to remove the the pix entry from my ~\/.ssh\/known_hosts file.  This did not work.<\/p>\n<p>The only way I have found to gain access again is to regenerate the RSA key from the console:<\/p>\n<blockquote><p>MYPix (config)# ca zeroize rsa<br \/>\nMYPix (config)# ca generate rsa key 1024<br \/>\nMYPix (config)# ca save all<\/p><\/blockquote>\n<p>For a Cisco ASA:<\/p>\n<blockquote><p>MyASA (config)# crypto key generate rsa modulus 2048<br \/>\nMyASA (config)# write memory<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>After a reboot of our Cisco PIX I was unable to login remotely using ssh. The first thing I tried doing was to remove the the pix entry from my ~\/.ssh\/known_hosts file. This did not work. The only way I have found to gain access again is to regenerate the RSA key from the console: [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[319,407,317],"class_list":["post-1312","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-cisco","tag-pix","tag-ssh"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1312"}],"version-history":[{"count":4,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1312\/revisions"}],"predecessor-version":[{"id":1316,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1312\/revisions\/1316"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}