cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
582
Views
0
Helpful
2
Replies

Creating RSA keys without user prompt

tmcmurray
Level 1
Level 1

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 2

petr.novak
Level 1
Level 1

I think you can use this command:

crypto key generate rsa general-keys modulus

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

That worked great.

Thank you.