The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Acces SSH on ILO card HP Proliant DL380 G4

SOLVED
Go to solution
Highlighted
romain0412
Super Collector

Acces SSH on ILO card HP Proliant DL380 G4

Hi,

I've some HP Proliant DL380 G4 server in my Datacenter. On wich of them I've an ILO card. I log in by the webaccess without problem.

But, when I try to connect it by ssh, I can't. It ask me the password, I give the same login/mdp used during web access; but I've this error message :

shell request failed on channel 0

Someone have an idea? Thanks for your help !

Romain (Sorry for my bad english...)
12 REPLIES
Jimmy Vance
HPE Pro

Re: Acces SSH on ILO card HP Proliant DL380 G4

What ssh client are you using? I haven't ran across the issue in a long time but some older versions of ssh under Linux had problems connecting to iLO.

If your using an older Linux ssh client try this

unset the LANG environment variable:
unset LANG

and disable agen forwarding:
ssh -a hostname-ilo





__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
romain0412
Super Collector

Re: Acces SSH on ILO card HP Proliant DL380 G4

I'm on a Debian Lenny, recently updated.
Jimmy Vance
HPE Pro

Re: Acces SSH on ILO card HP Proliant DL380 G4

I don't have a lenny system handy to test with. I don't see the issue with SLES10 or RHEL5, so I'd suspect the ssh client in lenny should be OK.

Try my suggestions anyway. What version of iLO firmware is on your DL380 G4?



__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
romain0412
Super Collector

Re: Acces SSH on ILO card HP Proliant DL380 G4

The version of ILO is 1.82. I want to upgrade the firware by the web interface, but I don't find the image.

Do you think an upgrade can resolve my problem?

Thanks,
Jimmy Vance
HPE Pro
Solution

Re: Acces SSH on ILO card HP Proliant DL380 G4

There were someupdates to fix ssh issues in later versions. This link is for v1.94 which is the last release for the 1st generation iLO.

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=397634&swItem=MTX-67869b1e7b5a4e459885406e98&prodNameId=3288132&swEnvOID=2025&swLang=8&taskId=135&mode=4&idx=0

Click obtain software, then right click on the .scexe file. Without the iLO channel driver loaded I'm not sure running "sh filename.scexe" will work on your system. You can unpack the .scexe file using "filename.scexe --unpack=/directory/name" This will unpack the ilo194.bin file which you can upload in the iLO web interface




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
romain0412
Super Collector

Re: Acces SSH on ILO card HP Proliant DL380 G4

I download the software, next I laucn a CMD windows then I launch CP010428.scexe --unpack=/c:

I did well?

The upgrade need a reboot of the server?
romain0412
Super Collector

Re: Acces SSH on ILO card HP Proliant DL380 G4

Sorry, I don't understood.

I did this command on my debian server now CP010428.scexe --unpack=/tmp

But I receive this message : -bash: CP010428.scexe: command not found

Thanks for your help
romain0412
Super Collector

Re: Acces SSH on ILO card HP Proliant DL380 G4

I forgot the ./
romain0412
Super Collector

Re: Acces SSH on ILO card HP Proliant DL380 G4

My problem is resolve.

Now I've a new answer, can I post in this ticket?

I want to know if it's possible to get information on hardaware state by shh? For example RAID State, Fan state...

Thanks
Jimmy Vance
HPE Pro

Re: Acces SSH on ILO card HP Proliant DL380 G4

"I want to know if it's possible to get information on hardaware state by shh? For example RAID State, Fan state... "

To get the system state information load the ProLiant Support Pack (PSP) for Linux

HP ProLiant Support Pack CD for Debian GNU/Linux 5.0 ("lenny") and Ubuntu 9.04 ("jaunty") x86 and AMD64/EM64T

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=15351&prodSeriesId=1121516&prodNameId=3288134&swEnvOID=4032&swLang=8&mode=2&taskId=135&swItem=MTX-799829d8271f455d9367978b5a

Hope this helps

Don't forget to assign points, thanks!





__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
romain0412
Super Collector

Re: Acces SSH on ILO card HP Proliant DL380 G4

I want to have this information by ssh on ILO not on the system.

Thanks
Jimmy Vance
HPE Pro

Re: Acces SSH on ILO card HP Proliant DL380 G4

You can get some information via iLO, but not everything. Grab the sample HPONCFG XML scripts that will allow you to pull data from iLO

HP Lights-Out XML PERL Scripting Sample for Linux

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&swItem=MTX-9ded60bd746942e18651211f51&jumpid=reg_R1002_USEN




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
//Add this to "OnDomLoad" event