How to access HP’s ILO remote console via SSH

This will be a quick reminder for myself on how you can remote console via SSH on HP Blade Server and Standalone Servers ๐Ÿ™‚

1. Connect to the ilo using SSH, Whether its with PuTTy (Windows) or Terminal (MacOSX or Linux) with the super or admin user and pass.
ssh [email protected]_address

[[email protected] ~]$ ssh -l Administrator
[email protected]'s password: 
User:Administrator logged-in to ILO----n.(
iLO 2 Standard Blade Edition 2.25 at 16:36:26 Apr 14 2014
Server Name: vMX-Bay1
Server Power: On


2. Having entered onto the server now via ilo, you will be able to connect to the remote console by either using the commands TEXTCONS or VSP


TEXTCONS is short for text console. When I used TEXTCONS, I got this output Monitor is in graphics mode or an unsupported text mode.


Starting text console.
Press 'ESC (' to return to the CLI Session.


Monitor is in graphics mode or an unsupported text mode.

From some quick reading it appears that some OS do not supported access using TEXTCONS, which is no help for me, however this is one way!


VSP is Virtual Serial Port. As the name suggests it is the virtual port, that is the same as, if you connected a serial cable onto the server. This worked a treat for me, so I am happy now ๐Ÿ˜€

hpiLO-> VSP

Starting virtual serial port.
Press 'ESC (' to return to the CLI Session.

hpiLO-> Virtual Serial Port active: IO=0x03F8 INT=4

Ubuntu 14.04.2 LTS lab13 ttyS0

lab13 login: 

Job done ๐Ÿ™‚

Other CLI commands available:

HP CLI Commands:

POWER    : Control server power.
UID      : Control Unit-ID light.
NMI      : Generate an NMI.
VM       : Virtual media commands.
VSP      : Invoke virtual serial port.
VSP LOG  : Invoke virtual serial port data logging.
TEXTCONS : Invoke Remote Text Console on supported platforms.
It is important to note as well, there some OS that donโ€™t support TEXTCONS or VSP. I had installed ESXi 6 on the blade and although it didnโ€™t give me an error I wasnโ€™t able to get any output. So this can be a little hit and miss at times. Its something I probably should look into but when i have some time in the future!
The following two tabs change content below.

Keeran Marquis

Network Engineer
Keeran Marquis is a Network Engineer. His main goal is to learn everything within the Networking field, pick up a little bit of scripting, be a poor man sysadmin and share whatever he knows! All Posts are his own views, opinions and experiences, no guarantees they will work for you but point you in the right direction ๐Ÿ™‚
Share this:

11 thoughts on “How to access HP’s ILO remote console via SSH”

  1. phanishanker

    Hey keeran,
    Thanks for sharing. However when i tried TEXTCONS or VSP, both hangs and no response. Please let me know if u have any workaround for this.


  2. Yash

    Hi, When I make an vsp connection to the VM and close the shell without exiting from both VM and iLO, the next time I try to connect to remote VM using vsp, it doesn’t pop up remote VM’s prompt while just got stuck at after showing some details about iLO.

    Any guess, why it is the case with vsp in iLO?


  3. rich


    After spending the better part of 2 months trying everything I have found on the web and in old HP docs I cannot get the virtual serial port java to run on any browser. So, I have given up and now just want to access the general ILO2 web interface THROUGH my ssh tunnel. I have ssh working secured with a key and I can get access to the ILO2 shell command line. I read here in your blog and have read and tried many others but I cannot get the tunnel to work. I use ssh tunnels all the time on other platforms… What happens here is that as soon as I try to use the tunnel to the 443 https from my client browser on the client ssh end the entire ssh terminates with error “Remote side sent disconnect message type 11 (by application): “Client Disconnect”. And the local ssh client is terminated. My ssh client (putty) tunnel local port is 4443 and remote is I can directly reach the ILO2 web going to https://hisaddr and that comes up fine. Any idea on how to get past this?

  4. Frank Walder

    I would like some suggestions on how to config my Comcast router to allow me to access my iLO 4( on my DL380 Gen9. Port 443 is enabled on the router, but when I try accessing the port remotely in a browser(71.ร—ร—ร—.ร—ร—ร—.ร—ร—ร—: 443) I get the error, “This site can’t be reached”. Sometimes there is something about ‘the response took to long’. How do I reach a non-routable address from the Internet?

  5. nh2

    Hey, the reason you get

    “Monitor is in graphics mode or an unsupported text mode.”

    is most likely because your kernel does a modesetting switch away from VGA to show “nicer” terminals on local hardware. The TEXTCONS does not support that.

    Configure your GRUB or to pass “vga=normal nomodeset” to the booted kernel (at the end of the “linux” line in GRUB), and TEXTCONS will work.

    (This is also explained at The “3” shown there at the end of the kernel parameters seems unnecessary.)

  6. Ramsey

    “VSP” and “Esc + (” worked well for me to connect and exit respectively.

    Thank you very much ๐Ÿ™‚

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.