I'm trying to automate some CIMC CLI commands to show the inventory of C-Series servers, i.e. show CPU, show hdd, etc. Typically I use Putty to SSH to the CIMC and run each command manually. I'd like to automate this process and save the results to a text file. So I tried using plink.exe to run:
c:\plink.exe -ssh -P 22 192.168.xx.xxx -l admin -pw password -m cimc_commands.txt >output.txt
But when I do this, i get: "No entry for terminal type "dumb"; using dumb terminal settings." and it just hangs.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.