HP Insight Control for Linux 6.2 User Guide

16 Using SSH for remote server management
Insight Control for Linux provides several ways for you to access a managed system through SSH.
This chapter addresses the following topics:
“Setting SSH credentials on managed systems” (page 151)
“Setting SSH credentials for users” (page 151)
“Running a command on multiple managed systems” (page 152)
“Using Insight Control for Linux to run commands and scripts through SSH” (page 153)
16.1 Setting SSH credentials on managed systems
Before you can run a task that uses SSH, you must use the following menu item from the HP
Insight Control user interface to set SSH credentials on managed systems:
OptionsProtocol SettingsSystem Protocol Settings
For more information about using this menu item to set SSH credentials, see the HP Systems
Insight Manager online help.
16.2 Setting SSH credentials for users
When you enter credentials for a managed system in HP SIM, the username specified in those
credentials is the username that will always be used to execute tasks on the managed system
regardless of the username you used to log into HP SIM. Thus, if you create a non-root user
account in HP SIM to restrict access for certain people, but the credentials stored in HP SIM are
for root on the target servers, then the non-root user in HP SIM still has root access to those target
systems.
Through HP SIM and Insight Control for Linux tools, a user could interact with a target managed
system with permissions greater than those assigned to their user account on the target managed
system. This is possible with the Insight Control for Linux menu items that leverage SSH
credentials.
The following Insight Control for Linux menu items require SSH credentials to be configured:
ToolsCommand Line ToolsRun SSH Command...
ToolsCommand Line ToolsRun Script...
DeployDeploy Drivers, Firmware, and AgentsInstall ProLiant Support P ack (PSP)...
The following Insight Control for Linux menu items use the SSH credentials if they are available,
but the task can proceed using other methods if the credentials are not available:
DeployOperating SystemRed Hat Interactive
DeployOperating SystemRed Hat (Kickstart)
DeployOperating SystemSLES Interactive
DeployOperating SystemSLES (AutoYaST)
DeployOperating SystemVMware ESX Interactive
DeployOperating SystemVMware ESX (Kickstart)
DeployOperating SystemVMware ESXi Interactive
DeployOperating SystemCustom or Other Interactive
DeployOperating SystemCustom or Other (Unattended)
DeployOperating SystemDeploy Linux Image
The following menu item uses the SSH credentials if they are available, otherwise the task uses
another method. However, if you want an orderly shut down of the managed system, HP
recommends that you configure SSH credentials:
DeployOperating SystemCapture Linux Image
16.1 Setting SSH credentials on managed systems 151