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

Crypto Key Script will not work in config, but will manually

y remote site customer has 3560 with 12.2(44)SE6, that if they run the command:

conf net

for a script:

!

crypto key generate rsa general-keys modulus 1024

!

It said it is successful, however, the configuration is not applied.

JSTA-MDF-s02#sh ip ssh

SSH Disabled - version 1.99

%Please create RSA keys to enable SSH (of atleast 768 bits size) to enable SSH v

2.

Authentication timeout: 60 secs; Authentication retries: 3

If they do it manually, it will take it..

Domain name is set and everything else is set.

Need to know why it is not working. This is an impact to operation.

Thanks,

RO

1 REPLY
Cisco Employee

Re: Crypto Key Script will not work in config, but will manually

You're missing the word "end" at the end of your config snippet. Try:

!

crypto key generate rsa general-keys modulus 1024

!

end

238
Views
0
Helpful
1
Replies