Making SSH Connections to ILOs

From TDiWiki

Jump to: navigation, search

Making connections to ILOs and other Baseboard Management Devices became quite easier with the introduction of ConsoleWorks 4.3. Read this document to find out how!

media:SSH_Console_Connecting_to_ILOs.pdf

(While this document concentrates on SSH connections, the same principles apply to Telnet connections as well)


  • Notes regarding OpenVMS connections (With Thanks to Rob Schroeder at HPDirecTV)
OpenVMS uses SSH2 and almost EVERYBODY else uses OpenSSH.  
To setup passwordless authentication from VMS to an OnboardAdministrator you need to convert the key to OpenSSH.  
Also the only account which will accept the key is Administrator.

Create keypair on VMS
@SYS$COMMON:[SYSMGR]TCPIP$DEFINE_COMMANDS.COM;
Set def to users [.ssh2] directory
Create key pair
$ ssh_keygen -t dsa -b 1024
Edit IDENTIFICATION.  
 
Add idkey   ID_DSA_1024_A < or filename of private key just created >
Copy pub key to some unix system running OpenSSH
Convert SSH2 key to OpenSSH
ssh-keygen -i -f ID_DSA_1024_A.PUB > ID_DSA_1024_A_VMS.PUB
CAT file just created and copy to clipboard
Browse to onboard administrator and login as Administrator
Users / Authentication
SSH Administration 
Paste key into box and click apply

From VMS;
 
ssh "Administrator"@<hostname>  ** yes you need the double quotes **
Should login without password


$ ssh "Administrator"@172.27.10.103

-----------------------------------------------------------------------------
WARNING: This is a private system.  Do not attempt to login unless you are an
authorized user.  Any authorized or unauthorized access and use may be moni-
tored and can result in criminal or civil prosecution under applicable law.
-----------------------------------------------------------------------------
Firmware Version: 2.60
Built: 08/31/2009 @ 10:16
OA Bay Number:  1
OA Role:        Active

Authentication successful.

HP BladeSystem Onboard Administrator
(C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P.


Type 'HELP' to display a list of valid commands.
Type 'HELP <command>' to display detailed information about a specific command.
Type 'HELP HELP' to display more detailed information about the help system.


sag750-oa1>
Personal tools