HP

HP Systems Insight Manager Technical Reference Guide

English
  Tools that Extend Management  |  Installing OpenSSH  |  Deploying OpenSSH to Multiple Systems Using RDP   

Deploying OpenSSH to Multiple Systems Using RDP

»Table of Contents
»Index
»Notices
»Introduction
»Product Overview
»Getting Started
»Discovery and Identification
»Users and Authorizations
»Networking and Security
»Monitoring Systems, Clusters, and Events
»Storage Integration
»Managing with Tasks
»Tools that Extend Management
»Cluster Monitor
»Command Line Tools
»Creating New Command Line Tools
»Custom Commands
»Configuring DMI Access
»Configuring SNMP Access
»Device Ping
»Disk Thresholds
»License Manager
»Management Processor Tools
»Managing MIBs
»Installing OpenSSH
Deploying OpenSSH to Multiple Systems Using RDP
»Creating an OpenSSH Task Through the CLI
»PMP Tools
»Removing and Restoring Tools
»Replicate Agent Settings
»RPM Package Manager
»Server Migration Pack
»System Management Homepage
»System Page
»Version Control
»Virtual Machine Management Pack
»WBEM Based Tools
»Available MSA Tools
»Partner Applications
»Reporting
»Administering Systems and Events
»Troubleshooting
»Reference Information
»Printable version
»Glossary
»Using Help
» Installing OpenSSH Using RDP
» Copying the public key from HP SIM to the Target Systems
» Related Procedures

OpenSSH can be installed on a target server using Rapid Deployment Pack (RDP), and then the HP Systems Insight Manager (HP SIM) public key can be copied to target systems.

Installing OpenSSH Using RDP

  1. Copy the OpenSSH install component to the Deployment Server.

  2. Create a new job.

  3. Add a Copy File task by selecting Add >> Copy File to.

  4. Ensure that the Copy File radio button is selected.

  5. For the Source path:, enter the complete path where the OpenSSH installer is located. For example, if OpenSSH_3.7.1p1-1.exe is in folder C:\temp\OpenSSH, enter the source path as C:\temp\OpenSSH\OpenSSH_3.7.1p1-1.exe.

  6. Under Destination path:, enter the location where you want this file to be copied on the target server. For example, if you want the file to be copied to the C:\temp\OpenSSH folder on the target server, enter the destination path as C:\temp\OpenSSH\OpenSSH_3.7.1p1-1.exe.

  7. Click [Finish].

  8. Add a Run Script task to the job by clicking Add >> Run Script.

  9. Ensure that the Run this script radio button is selected.

  10. In the box below Run this script, enter the following:

    C:\temp\OpenSSH\OpenSSH_3.7.1p1-1.exe /SILENT /NORESTART

  11. Select the Windows radio button in the In which OS would you like to run this script? section.

  12. Click [Finish].

  13. Drag this event and drop it on any system on which you want OpenSSH installed.

Copying the public key from HP SIM to the Target Systems

After OpenSSH is installed, create another script to copy the dtfsshkey.pub file (the public key) from the HP SIM server to the .ssh directory of the home directory of the administrator user on the target system.

  1. Copy the .dtfSshKey.pub file from ..\Program Files\HP\Systems Insight Manager\config\sshtools\ folder on the HP SIM server to a local folder on the deployment server, and rename .dtfSshKey.pub to authorized_keys2.

    1. Create a new job.

    2. Add a Run Script task to the job by clicking Add >> Run Script.

    3. Ensure that the Run this script radio button is selected.

    4. In the box below Run this script, enter the following (assuming that administrator’s home directory is C:\Documents and Settings\Administrator):

      cd C:\Documents and Settings\Administrator\

      mkdir .ssh

      cd .ssh

      del * /q

    5. Select the Windows radio button in the In which OS would you like to run this script? section.

    6. Enter the complete path where you have the authorized_keys2 file as the Source path:. For example, if authorized_keys2 is in folder C:\temp\OpenSSH, enter source path as C:\temp\OpenSSH\authorized_keys2.

    7. Enter the location where you want this file to be copied on the target server under the Destination path:. For example, if the administrator’s home directory is C:\Documents and Settings\Administrator, enter the destination path as C:\Documents and Settings\Administrator\.ssh\authorized_keys2.

    8. Click [Finish].

    9. Add a Run Script task to the job by clicking Add >> Run Script.

    10. Ensure that the Run this script radio button is selected.

    11. In the box below Run this script, enter the following command:

      net stop opensshd

      net start opensshd

    12. Select the Windows radio button in the In which OS would you like to run this script? section.

    13. Click [Finish].

  2. Drag this event and drop it on the target system where you want OpenSSH to be configured.

Related Procedures

» Tools that Extend Management - Installing OpenSSH
» Version Control - Initial ProLiant Support Pack Install
» Installing OpenSSH - Creating an OpenSSH Task Through the CLI