19 using ssh for remote server management, 1 setting ssh credentials on managed systems, 2 setting ssh credentials for users – HP Insight Control Software for Linux User Manual
Page 197
19 Using SSH for remote server management
HP Insight Control for Linux provides several ways for you to access a
through
. This chapter addresses the following topics:
•
“Setting SSH credentials on managed systems” (page 197)
•
“Setting SSH credentials for users” (page 197)
•
“Running a command on multiple managed systems” (page 198)
•
“Using HP Insight Control for Linux to run commands and scripts through SSH” (page 199)
19.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 all or selected managed systems:
Options
→Protocol Settings→System Protocol Settings
For more information about using this menu item to set SSH credentials, see the HP Systems
Insight Manager online help.
19.2 Setting SSH credentials for users
When a user has access to the HP Insight Control for Linux tools on a server, the tasks they launch
are run with the user that has been configured through the SSH settings. This is important to
remember when you set up authorizations for a user in HP SIM.
Through HP SIM and HP 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:
•
Tools
→Command Line Tools→Run SSH Command...
•
Tools
→Command Line Tools→Run Script...
•
Deploy
→Deploy Drivers, Firmware, and Agents→Install ProLiant Support Pack (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:
•
Deploy
→Operating System→Red Hat Interactive
•
Deploy
→Operating System→Red Hat (Kickstart)
•
Deploy
→Operating System→SLES Interactive
•
Deploy
→Operating System→SLES (AutoYaST)
•
Deploy
→Operating System→VMware ESX Interactive
•
Deploy
→Operating System→VMware ESX (Kickstart)
•
Deploy
→Operating System→VMware ESXi Interactive
•
Deploy
→Operating System→Custom or Other
•
Deploy
→Operating System→Deploy 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:
Deploy
→Operating System→Capture Linux Image
On the Task Results screen, the Task Instance Results always shows the user who launched the
task. This might not be the credentials used for the task execution. Because different target
managed systems can have different users specified in the SSH settings, the same task can run
on different targets as different users.
19.1 Setting SSH credentials on managed systems
197