Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

SSH deploymentby Netconfig

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: SSH deploymentby Netconfig

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 rsa1024

See the RME online help for more on Netconfig and interactive commands (search for "interactive").

1 REPLY
Cisco Employee

Re: SSH deploymentby Netconfig

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 rsa1024

See the RME online help for more on Netconfig and interactive commands (search for "interactive").

131
Views
0
Helpful
1
Replies
CreatePlease to create content