cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
724
Views
0
Helpful
1
Replies

SSH deploymentby Netconfig

davidcruise
Level 1
Level 1

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

Joe Clarke
Cisco Employee
Cisco Employee

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").

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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").