I have a small bit of experience with bat files and script files, but I am lost regarding scripting and Linux. I am trying to create a bat file that will run on a Windows machine that will SSH into each rig and execute the desired command, such as clear-thermals or update miners on each one. Logging into each machine individually is getting overwhelming. Any help would be appreciated.
0 ·
Comments
Then configure ssh key authentication, after that your mass commands would be that simple:
for rig in $MYRIGS; do
ssh $rig "$command" >> logfile
done;