Submitting jobs to install SSH public keys on remote hosts

In a flexible management environment, we can submit the Install SSH Public Key job to install SSH public keys on registered hosts of the job manager.

Start the job manager and the targets. Ensure that the targets for which to install an SSH public key are registered with the job manager.

To submit jobs, the ID at the job manager must be authorized for the administrator role or the operator role. When you submit a job, we can specify a user name and password for authentication and authorization at the target or targets. When you submit a job to multiple targets, the user name and password or the credentials for the submitter must apply all of the job targets.

To run the job against a large number of targets, optionally create a group of targets and submit the job against the group.

Supported configurations: IBM Installation Manager 1.4.3 or later is required.

(iseries) Note: The CIM job to install SSH public keys is not supported for IBM i targets.

We can use the console of the job manager or the deployment manager to submit the job. From the job manager console, choose the Install SSH Public Key job, specify the targets, schedule the job, review the summary, and submit the job.

Instead of using a console, we can run the Install SSH Public Key job script in the AdministrativeJobs command group. See the Administrative job types topic.

  1. Click Jobs > Submit from the navigation tree of the console.

  2. Choose the Install SSH Public Key job and click Next.

  3. Choose job targets.

    1. Select a group of targets from the list, or select Target names.

    2. If we selected Target names, then specify a target name and click Add, or click Find and specify the chosen targets on the Find targets page.

    3. If user authentication is required, specify a user name, password, or any other authentication values as needed.

    4. Click Next.

  4. On the Specify the job parameters page, specify the location of the public key file to install on the selected target. Click Next.

  5. Schedule the job and click Next.

  6. Review the summary, and click Finish to submit the job.


Results

The job runs and installs a public key file on the selected targets.


What to do next

On the Job status page, click the job ID and view the job status. Click the status refresh icon

to refresh the displayed job status.

If the job is not successful, view any error messages that result from running the job, correct the error condition, and submit the job again.


Related tasks

  • Manage Installation Manager using the job manager
  • Start and stop the job manager

  • Administrative job types