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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Creating RSA keys without user prompt

I am currently in the proccess of enabling SSH on 320 AP1200s. I would like to use CiscoWorks' NetConfig to push the new configuration out.

My issue is that pert of the SSH enabling proccess is to generate RSA keys. The command as I understand it is :

ap-admin2-1-1200-1(config)#crypto key generate rsa

Then I am prompted:

Choose the size of the key modulus in the range of 360 to 2048 for your

General Purpose Keys. Choosing a key modulus greater than 512 may take

a few minutes.

As you can see, this makes an automated roll-out of these commands impossible. Is there another way to do this?

2 REPLIES
New Member

Re: Creating RSA keys without user prompt

I think you can use this command:

crypto key generate rsa general-keys modulus

and have hostname, domain and correct time configured before this.

New Member

Re: Creating RSA keys without user prompt

That worked great.

Thank you.

174
Views
0
Helpful
2
Replies