Posts contrassegnato dai tag ‘cisco’

lost ssh access to cisco pix

Luglio 8, 2008

sometimes it happens that tring to connect via ssh to a pix firewall you receive this error:

> ssh_exchange_identification: Connection closed by remote host

i found on internet this solution that worked for me; the trick is regenerating the RSA key of the pix with these commands:

ca zeroize rsa
ca generate rsa key 1024
ca save all

On new ASA appliance, like ASA 5505, the new commands are:

crypto key zeroize rsa
crypto key generate rsa general-keys
ca save all