In order to automate the configuration of a router I insert the following command "crypto key generate rsa general-keys modulus 1024" but on startup the router says "Rsa keys can't be generated by the startup configuration"
That's true otherwise keys will change every reload. But how to have dozens of routers set up and ready to be installed and contacted by remote without doing a 2 step configuration? I mean once started up I can contact the router via expect through a telnet connection on my LAN (for example) and then tell the router to create RSA keys.
Alex.