Tag Archives: iLO

Check server temperature using HP iLO

ssh Administrator@10.1.0.235 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostkeyAlgorithms=+ssh-rsa
</>hpiLO-> show /system1/sensor1
/system1/sensor1
  Properties
    DeviceID=01-Inlet Ambient 
    OperationalStatus=Ok
    RateUnits=Celsius
    CurrentReading=31
    SensorType=Temperature
    HealthState=Ok
    oemhp_CautionValue=42
    oemhp_CriticalValue=46
</>hpiLO-> show /system1/sensor5
/system1/sensor5
  Properties
    DeviceID=05-Chipset 
    OperationalStatus=Ok
    RateUnits=Celsius
    CurrentReading=61
    SensorType=Temperature
    HealthState=Ok
    oemhp_CautionValue=105
    oemhp_CriticalValue=Not Applicable
</>hpiLO-> show /system1/sensor12
/system1/sensor12
  Properties
    DeviceID=12-Sys Exhaust 
    OperationalStatus=Ok
    RateUnits=Celsius
    CurrentReading=46
    SensorType=Temperature
    HealthState=Ok
    oemhp_CautionValue=68
    oemhp_CriticalValue=73

HP iLO ssh access

Even the most recent version of iLO is trying to use cypher algorithms that have been deprecated in OpenSSH:

ssh Administrator@10.1.0.235
Unable to negotiate ... no matching key exchange method found.
Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
ssh Administrator@10.1.0.235 -oKexAlgorithms=+diffie-hellman-group1-sha1 
Unable to negotiate ... no matching host key type found.
Their offer: ssh-rsa,ssh-dss
Unable to negotiate ... no matching cipher found. Their offer: aes256-cbc,aes128-cbc,3des-cbc

… and the winner is:

ssh Administrator@10.1.0.235 -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostkeyAlgorithms=+ssh-rsa -oCiphers=+aes256-cbc