"This command is not saved in the router configuration; however, the RSA keys generated by this command are saved in the private configuration in NVRAM (which is never displayed to the user or backed up to another device) the next time the configuration is written to NVRAM."
I see. It's actually not "crypto key generate RSA". It's "ip http secure-server". I did issue the command earlier today. I just tried again to make sure.
Now I have a new question. Is this "write memory" the same as "copy run start"?
R1(config)#ip http secure-server
% Generating 1024 bit RSA keys, keys will be non-exportable...
[OK] (elapsed time was 1 seconds)
*Jan 1 22:32:04.567: %SSH-5-ENABLED: SSH 1.99 has been enabled
*Jan 1 22:32:04.679: %PKI-4-NOAUTOSAVE: Configuration was modified. Issue "write memory" to save new certificate
What kind of router or IOS are you using?
I just tried on IOS 12.4 and 15.1. Both have WR as a command. I entered wr and it just runs. And it's not one of the default alias either. And there is no 'cli' command.
Exec mode aliases:
ATM virtual circuit configuration mode aliases:
Enter configuration commands, one per line. End with CNTL/Z.
% Invalid input detected at '^' marker.