Ethos - Windows script file to SSH to all rigs

813bits813bits Member Posts: 21
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.


  • rmhrmh Member Posts: 410 ✭✭✭
    This would be trivially simple on linux. If no linux boxes available for command&control role, make a virtual one on your windows.
    Then configure ssh key authentication, after that your mass commands would be that simple:

    for rig in $MYRIGS; do
    ssh $rig "$command" >> logfile

  • 813bits813bits Member Posts: 21
    I hear you, but I am Linux handicapped. I like the idea of racking a Linux box for command & control at the farm and the demonstrated sudo clearly shows the simplicity, but I want to tackle it first in Windows.
Sign In or Register to comment.