Change pass.user and pass.new to reflect your environment IPMI User/Password
Then run 'ccrypt -e pass.user' and 'ccrypt -e pass.new'
Make sure to 'chmod 400 pass.*' once you have set those files for your environment
ARG1 = Host
ARG2 = IPMITOOL CMD
For commands with sub commands, make sure to use 'single parathesis' to group command with sub command E.X. ./check_ipmi_remote.sh some.host.com 'power status'
You will need to install ipmitool to use this script
See this script to get ipmitool installed and working without the need for a reboot
https://github.com/zhacker98/OS-installer-scripts/blob/master/ipmitool-debian-deploy.sh