- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 10:58 PM - edited 03-11-2019 10:44 AM
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.
Solved! Go to Solution.
- Labels:
-
NGFW Firewalls
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 11:14 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2010 11:14 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2017 06:01 PM
Same issue on IOSv images.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2017 07:28 PM
Have you tried the solution posted earlier in this thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2017 09:09 PM
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?
