wiki:monkeybrains-serial-access

Version 1 (modified by https://id.mayfirst.org/jamie, 2 months ago) (diff)

--

Monkey Brains Serial Access

PTP maintains one server with Monkey Brains in San Fransicso (gabo.mayfirst.org).

It does not have serial console access, instead it uses IPMI for remote access. To secure the IPMI port, there is a small Raspberry Pi (gabito.mayfirst.org) that can securely proxy web traffic to the IPMI port.

To connect to the remote console, follow these steps:

  • ssh to root@gabito.mayfirst.org
  • start nginx to enable proxying: systemctl start nginx
  • go to: https://ipmi.gabo.mayfirst.org/
  • password is in key ringer (use upper case letters for login)
  • Click Remote Control -> iKVM/HTML5

You can't directly paste into the console, so here is a simple work around for pasting in passwords.

Type:

read -p "Copy password to clipboard then hit any key" && data=$(xclip -o) && printf "Hover mouse over iKVM window and wait 5 seconds.\n" && sleep 5 && xdotool type "$data"