Basically I have a server that has IPMI. I need to reset this when running a script and to do this I would ssh into the IPMI, then I would type cd /map1 then reset, and the adaptor will reset itself.
How on earth do I automate this via a script? I'm as far as ssh to the correct directory but any attempt to execute reset seems to reset the ssh connection and not the actual command on the adaptor/server.
I should add that using expect is not an option as it isn't installed and there's no way of installing it.