beautypg.com

16 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 151

background image

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:

Options

Protocol 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:

Tools

Command Line ToolsRun SSH Command...

Tools

Command Line ToolsRun Script...

Deploy

Deploy Drivers, Firmware, and AgentsInstall 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 SystemRed Hat Interactive

Deploy

Operating SystemRed Hat (Kickstart)

Deploy

Operating SystemSLES Interactive

Deploy

Operating SystemSLES (AutoYaST)

Deploy

Operating SystemVMware ESX Interactive

Deploy

Operating SystemVMware ESX (Kickstart)

Deploy

Operating SystemVMware ESXi Interactive

Deploy

Operating SystemCustom or Other Interactive

Deploy

Operating SystemCustom or Other (Unattended)

Deploy

Operating 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:

Deploy

Operating SystemCapture Linux Image

16.1 Setting SSH credentials on managed systems

151