Submit 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 we want to install an SSH public key are registered with the job manager.
To submit jobs, your ID at the job manager must be authorized for the administrator role or the operator role. When submitting a job, we can specify a user name and password for authentication and authorization at the target or targets. When submitting 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.
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.
Use the administrative 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.
- From the navigation tree of the administrative console, click...
Jobs > Submit
- Choose the Install SSH Public Key job and click Next.
- Choose job targets.
- Select a group of targets from the list, or select Target names.
- 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.
- If user authentication is required, specify a user name, password, or any other authentication values as needed.
- Click Next.
- On the Specify the job parameters page, specify the location of the public key file to install on the selected target. Click Next.
- Schedule the job and click Next.
- Review the summary, and click Finish to submit the job.
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.
Manage Installation Manager using the job manager Start and stop the job manager Administrative job types