iLO in 2 commands with firewall port forwarding workaround

by Bobbie 15. September 2009 00:40

Okay. So I have a client who's behind a firewall. They weren't excited at the security implications of giving me a VPN connection, nor was I excited about the slow, inconsistent connectivity. I had them setup an iLO http connection with port forwarding on a non-standard port. I haven't gotten around to setting up a non-standard NonSecure_KVMPort

 So I spent a few hours trying to figuring out how to connect in 2 lines. Enjoy!

wget 'http://<iLO-IP>:<iLO-port>/mahogany.jar'
/usr/bin/java -jar mahogany.jar <iLO-IP>-port <iLO-port>-username <user> -httpdata `curl --anyauth -s -u '<user>:<pass>' 'http://<iLO-IP>:<iLO-port>/kvms.html' | grep httpdata | cut -c 457-552`

Tags:

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen