Ssh – Automate ssh serial-over-LAN connection to SuperMicro IPMI via Putty

ipmiputtysshsupermicro

I recently found instructions on how to take advantage of the SuperMicro's serial-over-LAN remote console via SSH. The challenge is after the SSH login a few commands must be executed to start the remote console. As I cannot make any changes in the BMC or create a server-side script – I need to execute the commands manually.

The commands required, after login, are:

cd system1/sol1
start

So…is there a way this can be automated via Putty or Plink?

Best Answer

It seems that you want to enter the following in the PuTTY session properties, Configuration > SSH > Remote Command:

cd system/sol1 && start && /bin/bash

(or substitute your favorite shell or command at the end).