- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2008 10:03 AM
i want to schedule a job on netcofig to run ssh on all my switches in HQ ,the commands to be deployed is:
ip domain-name mycompany.net
crypto key generate rsa
bu the problem is the second command when run will ask about the length of the key ,so at this stage the task will not be completed through the netconfig,
is there any work around to handle this task by the netconfig?
Solved! Go to Solution.
- Labels:
-
Network Management
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2008 10:29 AM
There are two ways to do what you want. The first is to specify all the arguments to the crypto key command on one line. For example:
crypto key generate rsa modulus 1024
The second is to use Netconfig's interactive command feature. For example, your template would change to:
crypto key generate rsa
See the RME online help for more on Netconfig and interactive commands (search for "interactive").

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2008 10:29 AM
There are two ways to do what you want. The first is to specify all the arguments to the crypto key command on one line. For example:
crypto key generate rsa modulus 1024
The second is to use Netconfig's interactive command feature. For example, your template would change to:
crypto key generate rsa
See the RME online help for more on Netconfig and interactive commands (search for "interactive").
