Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

'crypto key generate rsa' necessary for SSH?

I read from the manual that the key pair will be used for SSH but just wonder does the command 'crypto key generate rsa' is necessary to enable SSH on ASA?

I can access to my firewall via SSH but when I checked in the configuration on ASA firewall by 'show run', I didn't see this command by the way. Anyone can guide me how to check if my ASA already be enabled  'crypto key generate rsa' ?

Thank you all very much for reply.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: 'crypto key generate rsa' necessary for SSH?

Yes, it is necessary to generate the rsa key pair for SSH access.

Here is the command to check the keypair in your ASA:

show crypto key mypubkey rsa

Hope that helps.

4 REPLIES
Cisco Employee

Re: 'crypto key generate rsa' necessary for SSH?

Yes, it is necessary to generate the rsa key pair for SSH access.

Here is the command to check the keypair in your ASA:

show crypto key mypubkey rsa

Hope that helps.

New Member

Re: 'crypto key generate rsa' necessary for SSH?

Any update to this one?

Same issue on IOSv images.
Hall of Fame Super Silver

Re: 'crypto key generate rsa' necessary for SSH?

Have you tried the solution posted earlier in this thread?

New Member

Re: 'crypto key generate rsa' necessary for SSH?

Thanks @Marvin Rhoads for your reply.


I should have been more precise.
In fact, I am using IOSv and each time I stop & restart the device, I have to regenerate SSH keys for me to be able to connect through SSH.

Maybe, there is another way to generate SSH keys that persist the reload?

4395
Views
0
Helpful
4
Replies