IDRAC serial console over SSH

IDRAC usually includes a HTML5 and/or Java-based GUI to access the serial console – but what about just using SSH instead?