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

Unanswered Question
Nov 5th, 2009
User Badges:

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


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.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Thu, 11/05/2009 - 21:46
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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


crypto key generate rsa general-keys modulus 1024




This Discussion